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

Refactor CFamilyLexer #1746

Merged
merged 5 commits into from
Mar 14, 2021
Merged

Refactor CFamilyLexer #1746

merged 5 commits into from
Mar 14, 2021

Conversation

amitkummer
Copy link
Contributor

@amitkummer amitkummer commented Mar 12, 2021

A refactor for #1722. Sorry for the extra work.

@amitkummer amitkummer changed the title Refactor #1722 pull request Refactor CFamilyLexer Mar 12, 2021
@Anteru
Copy link
Collaborator

Anteru commented Mar 12, 2021

What's the reason for making inline a reserved keyword vs. a keyword?

@amitkummer
Copy link
Contributor Author

amitkummer commented Mar 12, 2021

Inline is currently a reserved keyword, see here:

(words(('inline', '_inline', '__inline', 'naked', 'restrict',
'thread'), suffix=r'\b'), Keyword.Reserved),

@Anteru Anteru merged commit a5af73f into pygments:master Mar 14, 2021
@Anteru Anteru added this to the 2.9 milestone Mar 14, 2021
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label Mar 14, 2021
@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label Apr 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants