Skip to content

Commit 768026f

Browse files
mmazasmmazas
authored andcommitted
Port of token mangager fixes and upgraded traces.
Signed-off-by: mmazas <mmazas@ITEM-S104678.emea.msad.sopra>
1 parent cd1b54c commit 768026f

File tree

8 files changed

+277
-229
lines changed

8 files changed

+277
-229
lines changed

issues/bas01/files/clc1.exp_err

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ Read 1st char for any kind: `97 / 'a'´, @ 1:1 (tm)
1212
Cur char: `9 / '\t'´ (tm)
1313
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
1414
Done with NFA, at pos: 2 (tm)
15+
Put back: 1 looked ahead chars (tm)
1516
Found a TOKEN MATCH ***: <10 / "aa"> at lexical state: 0; returning (tm)
1617
Read 1st char for any kind: `9 / '\t'´, @ 1:3 (tm)
1718
<DEFAULT>-0 Current input char: `9 / '\t'´, @ 1:3 (tm)
1819
Looking for string literal match of token: <2 / "\t"> (tm)
1920
Cur char: `9 / '\t'´ (tm)
2021
Currently matched the first: 1 chars as token: <2 / "\t"> (tm)
21-
No NFA start state, at pos: 2 (tm)
22+
Put back: 0 looked ahead chars (tm)
2223
Found a SKIP match: <2> at lexical state: 0; continuing (tm)
2324
Read 1st char for any kind: `45 / '-'´, @ 1:4 (tm)
2425
<DEFAULT>-0 Current input char: `45 / '-'´, @ 1:4 (tm)
2526
Looking for string literal match of token: <8 / "--"> (tm)
2627
Cur char: `45 / '-'´ (tm)
2728
Cur char: `45 / '-'´ (tm)
2829
Currently matched the first: 2 chars as token: <8 / "--"> (tm)
29-
No NFA start state, at pos: 3 (tm)
30-
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 1; continuing (tm)
30+
Put back: 0 looked ahead chars (tm)
31+
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 0; continuing (tm)
3132
Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
3233
<LineComment>-1 Current input char: `32 / ' '´, @ 1:6 (tm)
3334
No string literal start with char: `32 / ' '´ (tm)
@@ -81,22 +82,23 @@ Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
8182
Looking to move from state: <,>-6, for token: <9 / <token of kind 9>> (tm)
8283
Looking to move from state: <,>-3, for token: <9 / <token of kind 9>> (tm)
8384
Done with NFA, at pos: 7 (tm)
84-
Found a SPECIAL_TOKEN match: <9 / " Int6 --"> at lexical state: 0; continuing (tm)
85+
Put back: 0 looked ahead chars (tm)
86+
Found a SPECIAL_TOKEN match: <9 / " Int6 --"> at lexical state: 1; continuing (tm)
8587
Read 1st char for any kind: `32 / ' '´, @ 1:14 (tm)
8688
<DEFAULT>-0 Current input char: `32 / ' '´, @ 1:14 (tm)
8789
Looking for string literal match of token: <1 / " "> (tm)
8890
Cur char: `32 / ' '´ (tm)
8991
Currently matched the first: 1 chars as token: <1 / " "> (tm)
90-
No NFA start state, at pos: 2 (tm)
92+
Put back: 0 looked ahead chars (tm)
9193
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
9294
Read 1st char for any kind: `45 / '-'´, @ 1:15 (tm)
9395
<DEFAULT>-0 Current input char: `45 / '-'´, @ 1:15 (tm)
9496
Looking for string literal match of token: <8 / "--"> (tm)
9597
Cur char: `45 / '-'´ (tm)
9698
Cur char: `45 / '-'´ (tm)
9799
Currently matched the first: 2 chars as token: <8 / "--"> (tm)
98-
No NFA start state, at pos: 3 (tm)
99-
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 1; continuing (tm)
100+
Put back: 0 looked ahead chars (tm)
101+
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 0; continuing (tm)
100102
Read 1st char for any kind: `32 / ' '´, @ 1:17 (tm)
101103
<LineComment>-1 Current input char: `32 / ' '´, @ 1:17 (tm)
102104
No string literal start with char: `32 / ' '´ (tm)
@@ -220,7 +222,8 @@ Read 1st char for any kind: `32 / ' '´, @ 1:17 (tm)
220222
Looking to move from state: <,>-4, for token: <9 / <token of kind 9>> (tm)
221223
Found a match of kind: 9 <token of kind 9> using the first: 19 characters (tm)
222224
Done with NFA, at pos: 19 (tm)
223-
Found a SPECIAL_TOKEN match: <9 / " Not yet supported\r\n"> at lexical state: 0; continuing (tm)
225+
Put back: 0 looked ahead chars (tm)
226+
Found a SPECIAL_TOKEN match: <9 / " Not yet supported\r\n"> at lexical state: 1; continuing (tm)
224227
Read 1st char for any kind: `116 / 't'´, @ 2:1 (tm)
225228
<DEFAULT>-0 Current input char: `116 / 't'´, @ 2:1 (tm)
226229
No string literal start with char: `116 / 't'´ (tm)
@@ -238,13 +241,14 @@ Read 1st char for any kind: `116 / 't'´, @ 2:1 (tm)
238241
Cur char: `32 / ' '´ (tm)
239242
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
240243
Done with NFA, at pos: 3 (tm)
244+
Put back: 1 looked ahead chars (tm)
241245
Found a TOKEN MATCH ***: <10 / "ten"> at lexical state: 0; returning (tm)
242246
Read 1st char for any kind: `32 / ' '´, @ 2:4 (tm)
243247
<DEFAULT>-0 Current input char: `32 / ' '´, @ 2:4 (tm)
244248
Looking for string literal match of token: <1 / " "> (tm)
245249
Cur char: `32 / ' '´ (tm)
246250
Currently matched the first: 1 chars as token: <1 / " "> (tm)
247-
No NFA start state, at pos: 2 (tm)
251+
Put back: 0 looked ahead chars (tm)
248252
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
249253
Read 1st char for any kind: `73 / 'I'´, @ 2:5 (tm)
250254
<DEFAULT>-0 Current input char: `73 / 'I'´, @ 2:5 (tm)
@@ -266,13 +270,14 @@ Read 1st char for any kind: `73 / 'I'´, @ 2:5 (tm)
266270
Cur char: `32 / ' '´ (tm)
267271
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
268272
Done with NFA, at pos: 4 (tm)
273+
Put back: 1 looked ahead chars (tm)
269274
Found a TOKEN MATCH ***: <10 / "Int1"> at lexical state: 0; returning (tm)
270275
Read 1st char for any kind: `32 / ' '´, @ 2:9 (tm)
271276
<DEFAULT>-0 Current input char: `32 / ' '´, @ 2:9 (tm)
272277
Looking for string literal match of token: <1 / " "> (tm)
273278
Cur char: `32 / ' '´ (tm)
274279
Currently matched the first: 1 chars as token: <1 / " "> (tm)
275-
No NFA start state, at pos: 2 (tm)
280+
Put back: 0 looked ahead chars (tm)
276281
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
277282
Read 1st char for any kind: `111 / 'o'´, @ 2:10 (tm)
278283
<DEFAULT>-0 Current input char: `111 / 'o'´, @ 2:10 (tm)
@@ -309,20 +314,21 @@ Read 1st char for any kind: `111 / 'o'´, @ 2:10 (tm)
309314
Cur char: `13 / '\r'´ (tm)
310315
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
311316
Done with NFA, at pos: 9 (tm)
317+
Put back: 1 looked ahead chars (tm)
312318
Found a TOKEN MATCH ***: <10 / "other-ten"> at lexical state: 0; returning (tm)
313319
Read 1st char for any kind: `13 / '\r'´, @ 2:19 (tm)
314320
<DEFAULT>-0 Current input char: `13 / '\r'´, @ 2:19 (tm)
315321
Looking for string literal match of token: <4 / "\r"> (tm)
316322
Cur char: `13 / '\r'´ (tm)
317323
Currently matched the first: 1 chars as token: <4 / "\r"> (tm)
318-
No NFA start state, at pos: 2 (tm)
324+
Put back: 0 looked ahead chars (tm)
319325
Found a SKIP match: <4> at lexical state: 0; continuing (tm)
320326
Read 1st char for any kind: `10 / '\n'´, @ 2:20 (tm)
321327
<DEFAULT>-0 Current input char: `10 / '\n'´, @ 2:20 (tm)
322328
Looking for string literal match of token: <3 / "\n"> (tm)
323329
Cur char: `10 / '\n'´ (tm)
324330
Currently matched the first: 1 chars as token: <3 / "\n"> (tm)
325-
No NFA start state, at pos: 2 (tm)
331+
Put back: 0 looked ahead chars (tm)
326332
Found a SKIP match: <3> at lexical state: 0; continuing (tm)
327333
Read 1st char for any kind: `111 / 'o'´, @ 3:1 (tm)
328334
<DEFAULT>-0 Current input char: `111 / 'o'´, @ 3:1 (tm)
@@ -359,13 +365,14 @@ Read 1st char for any kind: `111 / 'o'´, @ 3:1 (tm)
359365
Cur char: `32 / ' '´ (tm)
360366
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
361367
Done with NFA, at pos: 9 (tm)
368+
Put back: 1 looked ahead chars (tm)
362369
Found a TOKEN MATCH ***: <10 / "other-ten"> at lexical state: 0; returning (tm)
363370
Read 1st char for any kind: `32 / ' '´, @ 3:10 (tm)
364371
<DEFAULT>-0 Current input char: `32 / ' '´, @ 3:10 (tm)
365372
Looking for string literal match of token: <1 / " "> (tm)
366373
Cur char: `32 / ' '´ (tm)
367374
Currently matched the first: 1 chars as token: <1 / " "> (tm)
368-
No NFA start state, at pos: 2 (tm)
375+
Put back: 0 looked ahead chars (tm)
369376
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
370377
Read 1st char for any kind: `73 / 'I'´, @ 3:11 (tm)
371378
<DEFAULT>-0 Current input char: `73 / 'I'´, @ 3:11 (tm)
@@ -387,33 +394,35 @@ Read 1st char for any kind: `73 / 'I'´, @ 3:11 (tm)
387394
Cur char: `13 / '\r'´ (tm)
388395
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
389396
Done with NFA, at pos: 4 (tm)
397+
Put back: 1 looked ahead chars (tm)
390398
Found a TOKEN MATCH ***: <10 / "Int2"> at lexical state: 0; returning (tm)
391399
Read 1st char for any kind: `13 / '\r'´, @ 3:15 (tm)
392400
<DEFAULT>-0 Current input char: `13 / '\r'´, @ 3:15 (tm)
393401
Looking for string literal match of token: <4 / "\r"> (tm)
394402
Cur char: `13 / '\r'´ (tm)
395403
Currently matched the first: 1 chars as token: <4 / "\r"> (tm)
396-
No NFA start state, at pos: 2 (tm)
404+
Put back: 0 looked ahead chars (tm)
397405
Found a SKIP match: <4> at lexical state: 0; continuing (tm)
398406
Read 1st char for any kind: `10 / '\n'´, @ 3:16 (tm)
399407
<DEFAULT>-0 Current input char: `10 / '\n'´, @ 3:16 (tm)
400408
Looking for string literal match of token: <3 / "\n"> (tm)
401409
Cur char: `10 / '\n'´ (tm)
402410
Currently matched the first: 1 chars as token: <3 / "\n"> (tm)
403-
No NFA start state, at pos: 2 (tm)
411+
Put back: 0 looked ahead chars (tm)
404412
Found a SKIP match: <3> at lexical state: 0; continuing (tm)
405413
Read 1st char for any kind: `13 / '\r'´, @ 4:1 (tm)
406414
<DEFAULT>-0 Current input char: `13 / '\r'´, @ 4:1 (tm)
407415
Looking for string literal match of token: <4 / "\r"> (tm)
408416
Cur char: `13 / '\r'´ (tm)
409417
Currently matched the first: 1 chars as token: <4 / "\r"> (tm)
410-
No NFA start state, at pos: 2 (tm)
418+
Put back: 0 looked ahead chars (tm)
411419
Found a SKIP match: <4> at lexical state: 0; continuing (tm)
412420
Read 1st char for any kind: `10 / '\n'´, @ 4:2 (tm)
413421
<DEFAULT>-0 Current input char: `10 / '\n'´, @ 4:2 (tm)
414422
Looking for string literal match of token: <3 / "\n"> (tm)
415423
Cur char: `10 / '\n'´ (tm)
416424
Currently matched the first: 1 chars as token: <3 / "\n"> (tm)
425+
Put back: 0 looked ahead chars (tm)
417426
Found a SKIP match: <3> at lexical state: 0; continuing (tm)
418427
<DEFAULT>-0 Reached EOF (1st), @ 4:2 (tm)
419428
Input file parsed successfully

issues/bas01/files/clc2.exp_err

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ Read 1st char for any kind: `97 / 'a'´, @ 1:1 (tm)
1212
Cur char: `32 / ' '´ (tm)
1313
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
1414
Done with NFA, at pos: 2 (tm)
15+
Put back: 1 looked ahead chars (tm)
1516
Found a TOKEN MATCH ***: <10 / "aa"> at lexical state: 0; returning (tm)
1617
Read 1st char for any kind: `32 / ' '´, @ 1:3 (tm)
1718
<DEFAULT>-0 Current input char: `32 / ' '´, @ 1:3 (tm)
1819
Looking for string literal match of token: <1 / " "> (tm)
1920
Cur char: `32 / ' '´ (tm)
2021
Currently matched the first: 1 chars as token: <1 / " "> (tm)
21-
No NFA start state, at pos: 2 (tm)
22+
Put back: 0 looked ahead chars (tm)
2223
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
2324
Read 1st char for any kind: `45 / '-'´, @ 1:4 (tm)
2425
<DEFAULT>-0 Current input char: `45 / '-'´, @ 1:4 (tm)
2526
Looking for string literal match of token: <8 / "--"> (tm)
2627
Cur char: `45 / '-'´ (tm)
2728
Cur char: `45 / '-'´ (tm)
2829
Currently matched the first: 2 chars as token: <8 / "--"> (tm)
29-
No NFA start state, at pos: 3 (tm)
30-
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 1; continuing (tm)
30+
Put back: 0 looked ahead chars (tm)
31+
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 0; continuing (tm)
3132
Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
3233
<LineComment>-1 Current input char: `32 / ' '´, @ 1:6 (tm)
3334
No string literal start with char: `32 / ' '´ (tm)
@@ -74,13 +75,14 @@ Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
7475
Looking to move from state: <,>-6, for token: <9 / <token of kind 9>> (tm)
7576
Looking to move from state: <,>-3, for token: <9 / <token of kind 9>> (tm)
7677
Done with NFA, at pos: 6 (tm)
77-
Found a SPECIAL_TOKEN match: <9 / " o-i --"> at lexical state: 0; continuing (tm)
78+
Put back: 0 looked ahead chars (tm)
79+
Found a SPECIAL_TOKEN match: <9 / " o-i --"> at lexical state: 1; continuing (tm)
7880
Read 1st char for any kind: `32 / ' '´, @ 1:13 (tm)
7981
<DEFAULT>-0 Current input char: `32 / ' '´, @ 1:13 (tm)
8082
Looking for string literal match of token: <1 / " "> (tm)
8183
Cur char: `32 / ' '´ (tm)
8284
Currently matched the first: 1 chars as token: <1 / " "> (tm)
83-
No NFA start state, at pos: 2 (tm)
85+
Put back: 0 looked ahead chars (tm)
8486
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
8587
Read 1st char for any kind: `98 / 'b'´, @ 1:14 (tm)
8688
<DEFAULT>-0 Current input char: `98 / 'b'´, @ 1:14 (tm)
@@ -96,20 +98,21 @@ Read 1st char for any kind: `98 / 'b'´, @ 1:14 (tm)
9698
Cur char: `13 / '\r'´ (tm)
9799
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
98100
Done with NFA, at pos: 2 (tm)
101+
Put back: 1 looked ahead chars (tm)
99102
Found a TOKEN MATCH ***: <10 / "bb"> at lexical state: 0; returning (tm)
100103
Read 1st char for any kind: `13 / '\r'´, @ 1:16 (tm)
101104
<DEFAULT>-0 Current input char: `13 / '\r'´, @ 1:16 (tm)
102105
Looking for string literal match of token: <4 / "\r"> (tm)
103106
Cur char: `13 / '\r'´ (tm)
104107
Currently matched the first: 1 chars as token: <4 / "\r"> (tm)
105-
No NFA start state, at pos: 2 (tm)
108+
Put back: 0 looked ahead chars (tm)
106109
Found a SKIP match: <4> at lexical state: 0; continuing (tm)
107110
Read 1st char for any kind: `10 / '\n'´, @ 1:17 (tm)
108111
<DEFAULT>-0 Current input char: `10 / '\n'´, @ 1:17 (tm)
109112
Looking for string literal match of token: <3 / "\n"> (tm)
110113
Cur char: `10 / '\n'´ (tm)
111114
Currently matched the first: 1 chars as token: <3 / "\n"> (tm)
112-
No NFA start state, at pos: 2 (tm)
115+
Put back: 0 looked ahead chars (tm)
113116
Found a SKIP match: <3> at lexical state: 0; continuing (tm)
114117
Read 1st char for any kind: `52 / '4'´, @ 2:1 (tm)
115118
<DEFAULT>-0 Current input char: `52 / '4'´, @ 2:1 (tm)
@@ -125,6 +128,7 @@ Read 1st char for any kind: `52 / '4'´, @ 2:1 (tm)
125128
Cur char: `13 / '\r'´ (tm)
126129
Looking to move from state: <DEFAULT>-0, for token: <7 / <INTEGER>> (tm)
127130
Done with NFA, at pos: 2 (tm)
131+
Put back: 1 looked ahead chars (tm)
128132
Found a TOKEN MATCH ***: <7 / "45"> at lexical state: 0; returning (tm)
129133
ParseException parsing input file
130134
Encountered: <INTEGER> / "45", at line 2, column 1.

issues/bas01/files/clc3.exp_err

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ Read 1st char for any kind: `97 / 'a'´, @ 1:1 (tm)
1212
Cur char: `32 / ' '´ (tm)
1313
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
1414
Done with NFA, at pos: 2 (tm)
15+
Put back: 1 looked ahead chars (tm)
1516
Found a TOKEN MATCH ***: <10 / "aa"> at lexical state: 0; returning (tm)
1617
Read 1st char for any kind: `32 / ' '´, @ 1:3 (tm)
1718
<DEFAULT>-0 Current input char: `32 / ' '´, @ 1:3 (tm)
1819
Looking for string literal match of token: <1 / " "> (tm)
1920
Cur char: `32 / ' '´ (tm)
2021
Currently matched the first: 1 chars as token: <1 / " "> (tm)
21-
No NFA start state, at pos: 2 (tm)
22+
Put back: 0 looked ahead chars (tm)
2223
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
2324
Read 1st char for any kind: `45 / '-'´, @ 1:4 (tm)
2425
<DEFAULT>-0 Current input char: `45 / '-'´, @ 1:4 (tm)
2526
Looking for string literal match of token: <8 / "--"> (tm)
2627
Cur char: `45 / '-'´ (tm)
2728
Cur char: `45 / '-'´ (tm)
2829
Currently matched the first: 2 chars as token: <8 / "--"> (tm)
29-
No NFA start state, at pos: 3 (tm)
30-
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 1; continuing (tm)
30+
Put back: 0 looked ahead chars (tm)
31+
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 0; continuing (tm)
3132
Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
3233
<LineComment>-1 Current input char: `32 / ' '´, @ 1:6 (tm)
3334
No string literal start with char: `32 / ' '´ (tm)
@@ -74,13 +75,14 @@ Read 1st char for any kind: `32 / ' '´, @ 1:6 (tm)
7475
Looking to move from state: <,>-6, for token: <9 / <token of kind 9>> (tm)
7576
Looking to move from state: <,>-3, for token: <9 / <token of kind 9>> (tm)
7677
Done with NFA, at pos: 6 (tm)
77-
Found a SPECIAL_TOKEN match: <9 / " o-i --"> at lexical state: 0; continuing (tm)
78+
Put back: 0 looked ahead chars (tm)
79+
Found a SPECIAL_TOKEN match: <9 / " o-i --"> at lexical state: 1; continuing (tm)
7880
Read 1st char for any kind: `32 / ' '´, @ 1:13 (tm)
7981
<DEFAULT>-0 Current input char: `32 / ' '´, @ 1:13 (tm)
8082
Looking for string literal match of token: <1 / " "> (tm)
8183
Cur char: `32 / ' '´ (tm)
8284
Currently matched the first: 1 chars as token: <1 / " "> (tm)
83-
No NFA start state, at pos: 2 (tm)
85+
Put back: 0 looked ahead chars (tm)
8486
Found a SKIP match: <1> at lexical state: 0; continuing (tm)
8587
Read 1st char for any kind: `98 / 'b'´, @ 1:14 (tm)
8688
<DEFAULT>-0 Current input char: `98 / 'b'´, @ 1:14 (tm)
@@ -96,29 +98,30 @@ Read 1st char for any kind: `98 / 'b'´, @ 1:14 (tm)
9698
Cur char: `13 / '\r'´ (tm)
9799
Looking to move from state: <,>-2, for token: <10 / <Id>> (tm)
98100
Done with NFA, at pos: 2 (tm)
101+
Put back: 1 looked ahead chars (tm)
99102
Found a TOKEN MATCH ***: <10 / "bb"> at lexical state: 0; returning (tm)
100103
Read 1st char for any kind: `13 / '\r'´, @ 1:16 (tm)
101104
<DEFAULT>-0 Current input char: `13 / '\r'´, @ 1:16 (tm)
102105
Looking for string literal match of token: <4 / "\r"> (tm)
103106
Cur char: `13 / '\r'´ (tm)
104107
Currently matched the first: 1 chars as token: <4 / "\r"> (tm)
105-
No NFA start state, at pos: 2 (tm)
108+
Put back: 0 looked ahead chars (tm)
106109
Found a SKIP match: <4> at lexical state: 0; continuing (tm)
107110
Read 1st char for any kind: `10 / '\n'´, @ 1:17 (tm)
108111
<DEFAULT>-0 Current input char: `10 / '\n'´, @ 1:17 (tm)
109112
Looking for string literal match of token: <3 / "\n"> (tm)
110113
Cur char: `10 / '\n'´ (tm)
111114
Currently matched the first: 1 chars as token: <3 / "\n"> (tm)
112-
No NFA start state, at pos: 2 (tm)
115+
Put back: 0 looked ahead chars (tm)
113116
Found a SKIP match: <3> at lexical state: 0; continuing (tm)
114117
Read 1st char for any kind: `45 / '-'´, @ 2:1 (tm)
115118
<DEFAULT>-0 Current input char: `45 / '-'´, @ 2:1 (tm)
116119
Looking for string literal match of token: <8 / "--"> (tm)
117120
Cur char: `45 / '-'´ (tm)
118121
Cur char: `45 / '-'´ (tm)
119122
Currently matched the first: 2 chars as token: <8 / "--"> (tm)
120-
No NFA start state, at pos: 3 (tm)
121-
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 1; continuing (tm)
123+
Put back: 0 looked ahead chars (tm)
124+
Found a SPECIAL_TOKEN match: <8 / "--"> at lexical state: 0; continuing (tm)
122125
Read 1st char for any kind: `32 / ' '´, @ 2:3 (tm)
123126
<LineComment>-1 Current input char: `32 / ' '´, @ 2:3 (tm)
124127
No string literal start with char: `32 / ' '´ (tm)
@@ -152,7 +155,8 @@ Read 1st char for any kind: `32 / ' '´, @ 2:3 (tm)
152155
Looking to move from state: <,>-4, for token: <9 / <token of kind 9>> (tm)
153156
Found a match of kind: 9 <token of kind 9> using the first: 4 characters (tm)
154157
Done with NFA, at pos: 4 (tm)
155-
Found a SPECIAL_TOKEN match: <9 / " kk\r\n"> at lexical state: 0; continuing (tm)
158+
Put back: 0 looked ahead chars (tm)
159+
Found a SPECIAL_TOKEN match: <9 / " kk\r\n"> at lexical state: 1; continuing (tm)
156160
Read 1st char for any kind: `44 / ','´, @ 3:1 (tm)
157161
<DEFAULT>-0 Current input char: `44 / ','´, @ 3:1 (tm)
158162
No string literal start with char: `44 / ','´ (tm)
@@ -161,5 +165,6 @@ Read 1st char for any kind: `44 / ','´, @ 3:1 (tm)
161165
Looking to move from state: <DEFAULT>-0, for token: <7 / <INTEGER>> (tm)
162166
Looking to move from state: <LineComment>-1, for token: <10 / <Id>> (tm)
163167
Done with NFA, at pos: 0 (tm)
168+
Matched empty string as kind: 2147483647 (tm)
164169
Error parsing input file
165170
Lexical error at line 3, column 1. Encountered: "," (44) after: ""

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ THE POSSIBILITY OF SUCH DAMAGE.
8888
</dependency>
8989
</dependencies>
9090

91+
<!-- run 'mvn -Psnapshot,release -DshowAllPhases=true buildplan:list buildplan:list-phases'
92+
to list the project/module build plan -->
93+
9194
<profiles>
9295

9396
<profile>

0 commit comments

Comments
 (0)