Skip to content
  • Damien George's avatar
    py/lexer: Simplify handling of line-continuation error. · 773278ec
    Damien George authored
    Previous to this patch there was an explicit check for errors with line
    continuation (where backslash was not immediately followed by a newline).
    
    But this check is not necessary: if there is an error then the remaining
    logic of the tokeniser will reject the backslash and correctly produce a
    syntax error.
    773278ec