summaryrefslogtreecommitdiff
path: root/lex
diff options
context:
space:
mode:
Diffstat (limited to 'lex')
-rw-r--r--lex/Makefile2
-rw-r--r--lex/main.ml1
-rw-r--r--lex/output.ml1
-rw-r--r--lex/outputbis.ml1
4 files changed, 1 insertions, 4 deletions
diff --git a/lex/Makefile b/lex/Makefile
index d73939a3c1..e12eaa83d9 100644
--- a/lex/Makefile
+++ b/lex/Makefile
@@ -15,7 +15,7 @@
# The lexer generator
CAMLC=../boot/ocamlrun ../boot/ocamlc -strict-sequence -nostdlib -I ../boot
CAMLOPT=../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib
-COMPFLAGS=-warn-error A
+COMPFLAGS=-w +33 -warn-error A
CAMLYACC=../boot/ocamlyacc
YACCFLAGS=-v
CAMLLEX=../boot/ocamlrun ../boot/ocamllex
diff --git a/lex/main.ml b/lex/main.ml
index 28f1e55e62..73cfbd47bb 100644
--- a/lex/main.ml
+++ b/lex/main.ml
@@ -15,7 +15,6 @@
(* The lexer generator. Command-line parsing. *)
open Syntax
-open Lexgen
let ml_automata = ref false
let source_name = ref None
diff --git a/lex/output.ml b/lex/output.ml
index 377c00a2dd..d05e04bebc 100644
--- a/lex/output.ml
+++ b/lex/output.ml
@@ -15,7 +15,6 @@
(* Output the DFA tables and its entry points *)
open Printf
-open Syntax
open Lexgen
open Compact
open Common
diff --git a/lex/outputbis.ml b/lex/outputbis.ml
index 7eac354444..db2326d31c 100644
--- a/lex/outputbis.ml
+++ b/lex/outputbis.ml
@@ -15,7 +15,6 @@
(* Output the DFA tables and its entry points *)
open Printf
-open Syntax
open Lexgen
open Common