custom lexer inserts phantom semicolon after curly brackets