ソースを参照

minor (for parsed cache)

Nicolas Cannasse 13 年 前
コミット
ca72f0f4a6
1 ファイル変更1 行追加1 行削除
  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