summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-06-30 04:14:09 +0700
committerDaniil Baturin <daniil@baturin.org>2019-06-30 04:14:09 +0700
commit5f682a44d24f4e7a6e27ec8dea7aeaaa4447c6e7 (patch)
tree0ac8a8c48e5dfc355309d370ba2617f0233fb808 /src
parent7061cc0f5bf13ff66d91ec07e4788cb54a8407ed (diff)
downloadvyos1x-config-5f682a44d24f4e7a6e27ec8dea7aeaaa4447c6e7.tar.gz
vyos1x-config-5f682a44d24f4e7a6e27ec8dea7aeaaa4447c6e7.zip
Change syntax error wording.
Diffstat (limited to 'src')
-rw-r--r--src/parser.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.ml b/src/parser.ml
index 67e41ba..b334a20 100644
--- a/src/parser.ml
+++ b/src/parser.ml
@@ -17,7 +17,7 @@ let rec parse lexbuf (checkpoint : Config_tree.t I.checkpoint) =
parse lexbuf checkpoint
| I.HandlingError _env ->
let line, pos = Util.get_lexing_position lexbuf in
- raise (Syntax_error (Some (line, pos), "Syntax error"))
+ raise (Syntax_error (Some (line, pos), "Invalid syntax."))
| I.Accepted v -> v
| I.Rejected ->
raise (Syntax_error (None, "invalid syntax (parser rejected the input)"))