def syntax_error(message, token):
    _parsing_error(SyntaxError, message, token)
Raise a ParsingError which will be converted into an proper
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/lexer.py/syntax_error