X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FLPushLexer.cc;h=a16801bf0d03f6e533be2fce52d5ffd33823173a;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;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..a16801bf0 100644 --- a/helm/DEVEL/mathml_editor/src/LPushLexer.cc +++ b/helm/DEVEL/mathml_editor/src/LPushLexer.cc @@ -24,6 +24,8 @@ */ #include +#include +#include #include "ALogger.hh" #include "TToken.hh" @@ -40,6 +42,8 @@ LPushLexer::reset() { buffer.erase(); state = ACCEPT; + + displayCursor(); } void @@ -187,7 +191,7 @@ LPushLexer::push(char ch) } break; case ESCAPED_CHARACTER: - if ((ch == '-') || (ch == '_')) + if ((ch == '-') || (ch == '_') || (ch == '/')) { buffer.push_back(ch); state = IDENTIFIER;