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

Fix CBM BASIC V2 analyze text logic #1607

Merged
merged 1 commit into from Feb 12, 2021
Merged

Fix CBM BASIC V2 analyze text logic #1607

merged 1 commit into from Feb 12, 2021

Conversation

gandarez
Copy link
Contributor

This PR fixes CBM BASIC V2 text analyser to match decimal at the beginning not at anywhere as it was written. Also in the comments you can see if it starts with a line number.... After fixing analyse_text function it started breaking the test test_guess_lexer_forth which was expecting to get ForthLexer but started getting CbmBasicV2Lexer so to fix it I changed the weight for ForthLexer to 0.3. All tests are passing.

@gandarez
Copy link
Contributor Author

@Anteru any update here?

@gandarez
Copy link
Contributor Author

gandarez commented Feb 4, 2021

Any update here?

@birkenfeld
Copy link
Member

Thanks, I rebased it accordingly.

@birkenfeld birkenfeld merged commit aa0c35b into pygments:master Feb 12, 2021
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label Feb 12, 2021
@Anteru Anteru added this to the 2.8 milestone Feb 12, 2021
@gandarez gandarez deleted the bugfix/cbm-basic-v2#analyse-text branch February 12, 2021 20:18
@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label Feb 14, 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.

None yet

3 participants