Skip to content
Snippets Groups Projects
Commit 9ebbd3bb authored by Jan Trávníček's avatar Jan Trávníček
Browse files

temporary fix automaton lexer

parent afe6f45a
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -78,6 +78,7 @@ L0: ...@@ -78,6 +78,7 @@ L0:
} else { } else {
in.clear(); in.clear();
putback(in, token); putback(in, token);
token.raw = "";
token.type = TokenType::ERROR; token.type = TokenType::ERROR;
return token; return token;
} }
...@@ -95,6 +96,7 @@ L1: ...@@ -95,6 +96,7 @@ L1:
in.clear ( ); in.clear ( );
in.unget ( ); in.unget ( );
putback(in, token); putback(in, token);
token.raw = "";
token.type = TokenType::ERROR; token.type = TokenType::ERROR;
return token; return token;
} }
......
#ifndef _TYPE_REGISTRATION_HPP_ #ifndef _STRING_REGISTRATION_HPP_
#define _TYPE_REGISTRATION_HPP_ #define _STRING_REGISTRATION_HPP_
   
#include <core/xmlApi.hpp> #include <core/xmlApi.hpp>
   
...@@ -55,4 +55,4 @@ public: ...@@ -55,4 +55,4 @@ public:
   
} /* namespace registration */ } /* namespace registration */
   
#endif // _TYPE_REGISTRATION_HPP_ #endif // _STRING_REGISTRATION_HPP_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment