summaryrefslogtreecommitdiff
path: root/src/util.mli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-06-30 02:17:45 +0700
committerDaniil Baturin <daniil@baturin.org>2019-06-30 04:03:03 +0700
commitb280bab4edd89733d364e87adfb8a1e7e5f1b302 (patch)
treebfd9fed1a8e68b55ce514471419002a388ad7509 /src/util.mli
parentaa3d09c3fff12e379fd189ceaf55644574ff5c43 (diff)
downloadvyos1x-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.mli4
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