mirror of https://github.com/tbklang/tlang.git
🐞️ Bug: Single line comments lex wrongly #173
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
Dependencies
No dependencies set.
Reference: tlang/tlang#173
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose ✍️
There is a bug shown as such below. The lexing fails and consumes some stuff.
Cases
Broken
It seems if the comment token is followed directly then it fails.
Working
If there are some characters after the
\n
then it seems fine:Bug: Single line comments lex wronglyto 🐞️ Bug: Single line comments lex wronglyBasicLexer