RulesPostamble.flex 325 Bytes
Newer Older
1
<YYINITIAL,COMMENT,DECLARATION> {
2
3
  {ID}                  { yybegin(DECLARATION); return sym(Terminals.ID); }
}
4
<YYINITIAL,COMMENT,DECLARATION> {
5
  <<EOF>>               { return sym(Terminals.EOF); }
6
7
  [^]                   { throw new ScannerError((yyline+1) +"," + (yycolumn+1) + ": Illegal character <"+yytext()+">"); }
}