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

Teraterm updates #2165

Merged
merged 4 commits into from
Jun 21, 2022
Merged

Conversation

kurtmckee
Copy link
Contributor

This patch:

  • Tokenizes whitespace as Text.Whitespace, to help address WIP - Whitespace lexing after Keywords - collecting issue #1905.
  • Tokenizes strings in their entirety, rather than one character at a time.
  • Removes backslash escape sequences for string literals. They're not special in Tera Term string literals and I have no idea why I added those in the first place!
  • Updates tox.ini to drop testing for CPython 3.5 and PyPy3. This now matches CI.

Related to #1905

* Remove backslash escape lexing in string literals.
  (Don't know why I added those in the first place!)
* Lex strings in their entirety, not one character at a time.
* Treat unclosed string literals as errors.
@birkenfeld birkenfeld merged commit b99c8f2 into pygments:master Jun 21, 2022
@kurtmckee kurtmckee deleted the teraterm-updates-issue-1905 branch June 21, 2022 11:45
@Anteru Anteru added this to the 2.13.0 milestone Aug 14, 2022
@Anteru Anteru added the A-lexing area: changes to individual lexers label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lexing area: changes to individual lexers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants