diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-17 11:30:14 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-17 11:30:14 +1100 |
commit | 773278ec3030ea9ed809c5a248fde2278ce4b557 (patch) | |
tree | b5a7824dee8dbd2b06acaed06116a7e56e6f03d4 /drivers/display | |
parent | ae436797927c3c9f7ccdc25dd78af3dd279ca7ff (diff) | |
download | micropython-773278ec3030ea9ed809c5a248fde2278ce4b557.tar.gz micropython-773278ec3030ea9ed809c5a248fde2278ce4b557.zip |
py/lexer: Simplify handling of line-continuation error.
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.
Diffstat (limited to 'drivers/display')
0 files changed, 0 insertions, 0 deletions