Explorar o código

fixed small pb with multiple errors line number.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
0418544027
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main.ml

+ 1 - 0
main.ml

@@ -66,6 +66,7 @@ let type_error e p =
 	has_error := true
 
 let parse_error e p =
+	Lexer.save_lines();
 	warn (Parser.error_msg e) p;
 	has_error := true