Skip to content

Conversation

@axodentally
Copy link
Contributor

Previously, comments matched the whole line, no matter what.
Now they only match everything after '//'.

Also fixes #1364.

Furthermore, single quote strings are now also valid.

Copy link
Contributor

@jeanas jeanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@jeanas
Copy link
Contributor

jeanas commented Sep 19, 2023

Looks like I told myself I'd merge after CI passed and just forgot; sorry.

@jeanas jeanas merged commit 483d550 into pygments:master Sep 19, 2023
@Anteru Anteru added the A-lexing area: changes to individual lexers label Nov 17, 2023
@Anteru Anteru added this to the 2.17 milestone Nov 17, 2023
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.

CypherLexer double forward slash in string is always a comment

3 participants