Procházet zdrojové kódy

minor (for parsed cache)

Nicolas Cannasse před 13 roky
rodič
revize
ca72f0f4a6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lexer.mll

+ 1 - 1
lexer.mll

@@ -81,7 +81,7 @@ let keywords =
 let init file =
 	let f = make_file file in
 	cur := f;
-	Hashtbl.add all_files file f
+	Hashtbl.replace all_files file f
 
 let save() =
 	!cur