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

JuttleLexer: Fix duplicate 'juttle' occurance in lexer aliases. #1606

Merged
merged 1 commit into from Nov 19, 2020

Conversation

@sumanthvrao
Copy link
Contributor

@sumanthvrao sumanthvrao commented Nov 17, 2020

The output from pygments.lexers.get_all_lexers() contains 'juttle'
twice in the aliases section for the Juttle lexer entry.

This could be reproduced using:

>>> from pygments.lexers import get_all_lexers
>>> lexers = get_all_lexers()
>>> {alias[0]: alias[1] for alias in lexers}.get('Juttle')
('juttle', 'juttle')

This patch fixes the duplicate entry and generates the associated
_mapping.py file.

Fixes: #1604

The output from pygments.lexers.get_all_lexers() contains 'juttle'
twice in the aliases section for the Juttle lexer entry.

This could be reproduced using:

>>> from pygments.lexers import get_all_lexers
>>> lexers = get_all_lexers()
>>> {alias[0]: alias[1] for alias in lexers}.get('Juttle')
('juttle', 'juttle')

This patch fixes the duplicate entry and generates the associated
_mapping.py file.

Fixes: pygments#1604
@birkenfeld
Copy link
Contributor

@birkenfeld birkenfeld commented Nov 19, 2020

Thanks!

Loading

@birkenfeld birkenfeld merged commit ed985a1 into pygments:master Nov 19, 2020
13 checks passed
Loading
@Anteru Anteru added this to the 2.7.3 milestone Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants