jflex 1.4.3 does not like syntax of HtmlLexer.flex
Status: Pre-Alpha
Brought to you by:
ulysees2001
Building the 0.1.2c flex code with jflex 1.4.3 gives the error:
[INFO] --- maven-jflex-plugin:1.4.3:generate (default) @ hotsax-parser ---
Error in file "/Users/simbo/git/hotsax-parser/hotsax-parser/src/main/jflex/HtmlLexer.flex" (line 381):
Unterminated string at end of line.
[^"]* { string.append(yytext()); }
^
this is solved by changing the following line in the HtmlLexer.flex:
[^"]* { string.append(yytext()); }
to be:
[^\"]* { string.append(yytext()); }