Update .flex regular expressions and LexerAnalyzer logic