]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/TPushLexer.cc
ocaml 3.09 transition
[helm.git] / helm / DEVEL / mathml_editor / src / TPushLexer.cc
index ee884cfe991c6a980e02a85c6dbdddb19c5d64c2..da15822c39794eeac79e8a37a62866c2e19ffd5f 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <string>
 #include <cctype>
+#include <cassert>
 
 #include "TToken.hh"
 #include "TPushLexer.hh"
@@ -40,6 +41,8 @@ TPushLexer::reset()
 {
   buffer.erase();
   state = ACCEPT;
+
+  displayCursor();
 }
 
 void