diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-10-27 22:42:37 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-11-03 08:11:05 -0600 |
| commit | 2aea7ddbc092b03dbf07dce385786b9c5c16a881 (patch) | |
| tree | 3c837d8e16cb52d1d7bb85ea4afc5ffb913a81d0 /src/parser.ml | |
| parent | 6ced0e36b3f98675d82007f8c77193e2836c4b60 (diff) | |
| download | vyos1x-config-2aea7ddbc092b03dbf07dce385786b9c5c16a881.tar.gz vyos1x-config-2aea7ddbc092b03dbf07dce385786b9c5c16a881.zip | |
T7915: add compiler alerts and annotations
Diffstat (limited to 'src/parser.ml')
| -rw-r--r-- | src/parser.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.ml b/src/parser.ml index f659b34..e1c86e6 100644 --- a/src/parser.ml +++ b/src/parser.ml @@ -23,6 +23,9 @@ let rec parse vy_inside_node lexbuf (checkpoint : Config_tree.t I.checkpoint) = raise (Syntax_error (None, "invalid syntax (parser rejected the input)")) let from_string s = + (* raises: + [Syntax_error] from parse + *) let vy_inside_node = false in let lexbuf = Lexing.from_string s in parse vy_inside_node lexbuf (Vyos1x_parser.Incremental.config lexbuf.lex_curr_p) |
