Fixed the parser in bflexergen.py