Fixes lexer for curly braces