diff --git a/src/Makefile b/src/Makefile
index 896e3db636653e3585a9f59e41722327ba81d0da..ea616e9fd16eec28c0af0a909a3e910833e202d5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -16,7 +16,7 @@ PROF:=$(if $(PROF),-ocamlopt ocamloptp,)
 all: $(TG)
 
 $(TG): $(SRC)
-	ocamlbuild $(PROF) -cflags  -warn-error,"+a-26" -cflags -w,"-26" -use-ocamlfind $(TG)
+	ocamlbuild $(PROF) -cflags  -warn-error,"+a-26" -cflags -w,"-26" -menhir "menhir --unused-tokens" -use-ocamlfind $(TG)
 
 test_lexer: archi.ml config.ml e_regexp.ml lexer_generator.ml symbols.ml test_lexer.ml utils.ml
 	ocamlbuild -use-ocamlfind test_lexer.native
diff --git a/tests/basic/arg-test.e.expect_1_2_3 b/tests/basic/arg-test.e.expect_1_2_3
index 4de51e4d38522a71a09ab4c411d09d99f1e80932..b55e8e280c5e45c2be40c1a6b56defcd278107ea 100644
--- a/tests/basic/arg-test.e.expect_1_2_3
+++ b/tests/basic/arg-test.e.expect_1_2_3
@@ -1 +1 @@
-{"output": "", "error": null, "retval": 20}
\ No newline at end of file
+{"output": "", "error": null, "retval": 10}
\ No newline at end of file