]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/ocaml/c_mathml_editor.cc
ocaml 3.09 transition
[helm.git] / helm / DEVEL / mathml_editor / ocaml / c_mathml_editor.cc
index 8ab2a05cc095c6ee6fdb3c6d9b9c41fb5004ce52..25759823ba05e8351b9d8b6ab6347121bde9a782 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include <GdomeSmartDOMXSLT.hh>
+#include <cassert>
 
 #include "ALogger.hh"
 #include "TDictionary.hh"
@@ -197,6 +198,7 @@ extern "C" void
 c_mathml_editor_reset(Editor* editor)
 {
   assert(editor);
+  editor->lexer->reset();
   editor->parser->reset();
 }