diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-06-30 02:17:45 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-06-30 04:03:03 +0700 |
commit | b280bab4edd89733d364e87adfb8a1e7e5f1b302 (patch) | |
tree | bfd9fed1a8e68b55ce514471419002a388ad7509 /src/util.mli | |
parent | aa3d09c3fff12e379fd189ceaf55644574ff5c43 (diff) | |
download | vyos1x-config-b280bab4edd89733d364e87adfb8a1e7e5f1b302.tar.gz vyos1x-config-b280bab4edd89733d364e87adfb8a1e7e5f1b302.zip |
T1478: Improved lexing error reporting, including proper support for single quoted strings.
Diffstat (limited to 'src/util.mli')
-rw-r--r-- | src/util.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.mli b/src/util.mli index 5316e90..119ae01 100644 --- a/src/util.mli +++ b/src/util.mli @@ -1 +1,5 @@ +exception Syntax_error of ((int * int) option * string) + +val get_lexing_position : Lexing.lexbuf -> int * int + val default : 'a -> 'a option -> 'a |