Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ grammar SFML;

//go to SFMLLexer.ts after going antlr command on the package.json and solve the 2 issues
@lexer::members {
public boolean INCLUDE_UNUSED = false; // we want syntax highlighting to not break on unexpected tokens
public INCLUDE_UNUSED: boolean = false; // we want syntax highlighting to not break on unexpected tokens
}

program : name? trigger* EOF;
Expand Down Expand Up @@ -279,7 +279,7 @@ WS
;

UNUSED
: {INCLUDE_UNUSED}? . -> channel(HIDDEN)
: {this.INCLUDE_UNUSED}? . -> channel(HIDDEN)
;

fragment A :('a' | 'A') ;
Expand Down