Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'TODO: Add support for undefined escape sequence and Non-printing characters' issue in sifter\grammar\lexer.py #11

Open
manfred-kaiser opened this issue Oct 10, 2020 · 0 comments

Comments

@manfred-kaiser
Copy link
Member

manfred-kaiser commented Oct 10, 2020

Add support for:

  • An undefined escape sequence (such as "\a" in a context where "a" has no special meaning) is interpreted as if there were no backslash (in this case, "\a" is just "a"), though that may be changed by extensions.
  • Non-printing characters such as tabs, CRLF, and control characters are permitted in quoted strings. Quoted strings MAY span multiple lines. An unencoded NUL (US-ASCII 0) is not allowed in strings.

CodeFactor found an issue: TODO: Add support for:

It's currently on:
sifter\grammar\lexer.py:77
Commit 6e6601e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant