Skip to content

Commit

Permalink
Fix comment block closing token
Browse files Browse the repository at this point in the history
  • Loading branch information
ReMinoer committed Oct 7, 2017
1 parent ae13be9 commit 4c8995a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DashLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fragment VOID: (' '|'\t'|'\n'|'\r')+;

mode CommentBlock;
COMMENT_BLOCK_CONTENT: (VOID? ('~' ('~' '~'?)?)? ~('~'|' '|'\t'|'\n'|'\r'))+;
COMMENT_BLOCK_CLOSE: VOID? '~~~~' ~('\n'|'\r')* (('\r'? '\n' | '\r') | EOF) -> popMode;
COMMENT_BLOCK_CLOSE: VOID? '~~~~' -> popMode;

mode CommentInline;
COMMENT_INLINE_CONTENT: (WS? ~(' '|'\t'|'\n'|'\r')+)+;
Expand Down

0 comments on commit 4c8995a

Please sign in to comment.