X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FLPushLexer.cc;h=414dd7826c10af94601698ea2093ab8e1fe47b29;hb=3c7ca719c304eb7de7d8d4e9a90ebe0db8d8ecab;hp=74cda410aa5abc77738684c2304fb9a8762f6f14;hpb=98e5817ce4fa424fb3181d90d327935c1b100ec4;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/LPushLexer.cc b/helm/DEVEL/mathml_editor/src/LPushLexer.cc index 74cda410a..414dd7826 100644 --- a/helm/DEVEL/mathml_editor/src/LPushLexer.cc +++ b/helm/DEVEL/mathml_editor/src/LPushLexer.cc @@ -24,6 +24,7 @@ */ #include +#include #include "ALogger.hh" #include "TToken.hh" @@ -40,6 +41,8 @@ LPushLexer::reset() { buffer.erase(); state = ACCEPT; + + displayCursor(); } void @@ -187,7 +190,7 @@ LPushLexer::push(char ch) } break; case ESCAPED_CHARACTER: - if ((ch == '-') || (ch == '_')) + if ((ch == '-') || (ch == '_') || (ch == '/')) { buffer.push_back(ch); state = IDENTIFIER;