Skip to content

Commit

Permalink
Not skip, but hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Enaium committed Dec 17, 2024
1 parent 1c79ab6 commit efe9ccf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Identifier

WhiteSpace
:
(' ' | '\u0009' | '\u000C' | '\r' | '\n') -> skip
(' ' | '\u0009' | '\u000C' | '\r' | '\n') -> channel(HIDDEN)
;

DocComment
Expand All @@ -223,12 +223,12 @@ DocComment

BlockComment
:
('/*' .*? '*/') -> skip
('/*' .*? '*/') -> channel(HIDDEN)
;

LineComment
:
('//' ~[\r\n]* ('\r\n' | '\r' | '\n')?) -> skip
('//' ~[\r\n]* ('\r\n' | '\r' | '\n')?) -> channel(HIDDEN)
;

BooleanLiteral
Expand Down

0 comments on commit efe9ccf

Please sign in to comment.