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

Refine comment and division operator tokenization logic #177

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

ChAoSUnItY
Copy link
Collaborator

This refactor removes original unreachable error branch on / character-related tokenizations, and also adds C++-style comment (which is introduced in C99 specification) support. Additionally, the C-style comment tokenizatin is refined with proper detection on unenclosed case.

This removes original unreachable error branch on '/' tokenization, and
also adds C++-style comment (which is introduced in C99 specification)
support. Additionally, the C-style comment is refined with proper
detection on unenclosed case.
@jserv jserv merged commit 853663f into sysprog21:master Jan 17, 2025
6 checks passed
@jserv
Copy link
Collaborator

jserv commented Jan 17, 2025

Thank @ChAoSUnItY for contributing!

@ChAoSUnItY ChAoSUnItY deleted the refactor/comment-div branch January 17, 2025 07:23
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