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

757/germanriano/mosel #1326

Merged

Conversation

jcmuel
Copy link
Contributor

@jcmuel jcmuel commented Dec 4, 2019

I deleted the test file that had an incompatible license and created a new test file. Moreover, I also added several keywords and types.

'is_sos1', 'is_sos2', 'is_integer', 'is_binary', 'is_continuous',
'is_free', 'is_semcont', 'is_semint', 'is_partint'
)), Keyword.Type),
(r'(\+|\-|\*|/|=|<=|>=|==|\||\^|<|>|<>|\.\.|\.|:=|:|::|in|mod|div)', Operator),
Copy link
Member

Choose a reason for hiding this comment

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

: and :: need to swap places to have :: recognized.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the hint. I just reordered the : and ::.

'is_sos1', 'is_sos2', 'is_integer', 'is_binary', 'is_continuous',
'is_free', 'is_semcont', 'is_semint', 'is_partint'
)), Keyword.Type),
(r'(\+|\-|\*|/|=|<=|>=|==|\||\^|<|>|<>|\.\.|\.|:=|:|::|in|mod|div)', Operator),
(r'[()\[\]{},;:]+', Punctuation),
Copy link
Member

Choose a reason for hiding this comment

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

Is : still needed here as punctuation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. It's not needed. I just removed it.

@birkenfeld
Copy link
Member

Thanks!

@birkenfeld birkenfeld merged commit 08d3104 into pygments:757/Germanriano/mosel Dec 8, 2019
@jcmuel jcmuel deleted the 757/Germanriano/mosel branch December 8, 2019 10:34
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.

None yet

2 participants