aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Lexer.mll
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Lexer.mll')
-rw-r--r--cparser/Lexer.mll7
1 files changed, 3 insertions, 4 deletions
diff --git a/cparser/Lexer.mll b/cparser/Lexer.mll
index bcf2ada0..b2b00e8c 100644
--- a/cparser/Lexer.mll
+++ b/cparser/Lexer.mll
@@ -17,8 +17,7 @@
open Lexing
open Pre_parser
open Pre_parser_aux
-open Cabshelper
-open Camlcoq
+open !Cabshelper
module SSet = Set.Make(String)
@@ -430,7 +429,7 @@ and singleline_comment = parse
open Streams
open Specif
open Parser
- open Aut.GramDefs
+ open !Aut.GramDefs
(* This is the main entry point to the lexer. *)
@@ -578,7 +577,7 @@ and singleline_comment = parse
let rec doConcat wide str =
try
match Queue.peek tokens with
- | STRING_LITERAL (wide', str', loc) ->
+ | STRING_LITERAL (wide', str', _) ->
ignore (Queue.pop tokens);
let (wide'', str'') = doConcat wide' str' in
if str'' <> []