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 tokenisation in ARM Assembly lexer #1289

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Jul 30, 2019

The ARM assembly lexer contains a rule for preprocessor comments that tokenises the entire string with the Comment::Preproc token. Whitespace should be tokenised with the Text token. This PR fixes that. It resulted from discussion in #1282.

The ARM assembly lexer contains a rule for preprocessor comments that
tokenises the entire string with the `Comment::Preproc` token.
Whitespace should be tokenised with the `Text` token. This commit fixes
that.
@pyrmont pyrmont merged commit c603a0a into rouge-ruby:master Jul 30, 2019
bavison pushed a commit to bavison/rouge that referenced this pull request Sep 9, 2019
The ARM assembly lexer contains a rule for preprocessor comments that
tokenises the entire string with the `Comment::Preproc` token.
Whitespace should be tokenised with the `Text` token. This commit fixes
that.
@pyrmont pyrmont deleted the bugfix.armasm-tokens branch January 8, 2020 20:08
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.

1 participant