Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,4 @@ YYYY/MM/DD, github id, Full name, email
2019/02/06, ralucado, Cristina Raluca Vijulie, ralucris.v[at]gmail[dot]com
2019/03/13, base698, Justin Thomas, [email protected]
2019/03/18, carlodri, Carlo Dri, [email protected]
2019/04/06, dberlin, Daniel Berlin, [email protected]

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
grammar TestIncrementalBasic;
options {
incremental = true;
}
program: (identifier | digits)+;
identifier: IDENT;
digits: DIGITS;
// We deliberately put these on a hidden channel rather than skip - it helps
// make the cases weirder by making the parser's token indexes non-contiguous.
WS: [ \t\r\n\u000C]+ -> channel(HIDDEN);
IDENT: [A-Za-z]+;
DIGITS: [0-9]+;
Loading