Skip to content

feat: Add semicolon as line comment delimiter#161

Merged
zharinov merged 1 commit intomasterfrom
feat/semicolon-comments
Dec 27, 2025
Merged

feat: Add semicolon as line comment delimiter#161
zharinov merged 1 commit intomasterfrom
feat/semicolon-comments

Conversation

@zharinov
Copy link
Copy Markdown
Member

Summary

  • Add ; as an alternative line comment syntax alongside existing // and /* */ C-style comments
  • Both // comment and ; comment are now valid line comments

Test plan

  • Added semicolon_comment test in trivia_tests.rs
  • All existing tests pass

Support `;` as an alternative line comment syntax alongside
the existing `//` and `/* */` C-style comments.
@zharinov zharinov enabled auto-merge (squash) December 27, 2025 12:58
@zharinov zharinov merged commit 77aabbc into master Dec 27, 2025
4 checks passed
@zharinov zharinov deleted the feat/semicolon-comments branch December 27, 2025 13:02
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