-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
I try to format this file:
grammar Hello;
r : 'hello' ID;
ID : [a-z]+ ;
WS : [ \t\r\n]+ -> skip ;
It become one line:
/Users/peter/workspace/antlr-formatter/src/test/resources/hk/quantr/antlrformatter>java -jar ~/workspace/codebuff/target/codebuff-1.5.1.jar -g org.antlr.codebuff.ANTLRv4 -rule grammarSpec -corpus corpus/antlr4/training -files g4 -indent 4 -comment LINE_COMMENT Hello.g4
grammar Hello;r:'hello'ID;ID:[a-z]+;WS:[ \t\r\n]+->skip;
Metadata
Metadata
Assignees
Labels
No labels