Skip to content

Commit

Permalink
final comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Jan 4, 2017
1 parent 5570e89 commit ee5175f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/antlr/com/github/sybila/ctl/antlr/CTL.g4
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ NEWLINE : '\r'?'\n';
WS : [ \t]+ -> channel(HIDDEN) ;

Block_comment : '/*' (Block_comment|.)*? '*/' -> channel(HIDDEN) ; // nesting allow
C_Line_comment : '//' ~('\n')* -> channel(HIDDEN) ;
Python_Line_comment : '#' ~('\n')* -> channel(HIDDEN) ;
C_Line_comment : '//' ~('\n'|'\r')* -> channel(HIDDEN) ;
Python_Line_comment : '#' ~('\n'|'\r')* -> channel(HIDDEN) ;
4 changes: 2 additions & 2 deletions src/main/antlr/com/github/sybila/huctl/antlr/HUCTL.g4
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ NEWLINE : '\r'?'\n';
WS : [ \t]+ -> channel(HIDDEN) ;

Block_comment : '/*' (Block_comment|.)*? '*/' -> channel(HIDDEN) ; // nesting allow
C_Line_comment : '//' .*? ('\n' | EOF) -> channel(HIDDEN) ;
Python_Line_comment : '#' .*? ('\n' | EOF) -> channel(HIDDEN) ;
C_Line_comment : '//' ~('\n'|'\r')* -> channel(HIDDEN) ;
Python_Line_comment : '#' ~('\n'|'\r')* -> channel(HIDDEN) ;

0 comments on commit ee5175f

Please sign in to comment.