Skip to content

Commit

Permalink
Modify M3uLexer.g4 QUOTED_STRING rule to support zero or more quoted …
Browse files Browse the repository at this point in the history
…tokens
  • Loading branch information
aerovulpe committed Jun 9, 2019
1 parent e685257 commit 69910c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/antlr/M3uLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FILE_START: '#EXTM3U';
CHANNEL_START: EXTINF;
NUMBER: '-'? DIGIT+;
SAFE_STRING: SAFE_CHAR+;
QUOTED_STRING: QUOTE (SAFE_CHAR | NUMBER | COLON | EQUALS | SPACES | COMMA)+ QUOTE;
QUOTED_STRING: QUOTE (SAFE_CHAR | NUMBER | COLON | EQUALS | SPACES | COMMA)* QUOTE;
COMMA: ',' -> pushMode(CHANNEL_DESC);
COLON: ':';
EQUALS: '=';
Expand Down

0 comments on commit 69910c0

Please sign in to comment.