You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## WARNING: This example involves spurious reductions.
282
291
## This implies that, although the LR(1) items shown above provide an
283
292
## accurate view of the past (what has been recognized so far), they
284
293
## may provide an INCOMPLETE view of the future (what was expected next).
285
294
## In state 3, spurious reduction of production nonempty_list(eol) -> EOL
286
295
## In state 6, spurious reduction of production eols -> nonempty_list(eol)
287
-
## In state 53, spurious reduction of production option(eols) -> eols
288
296
##
289
297
program: MODULE UIDENT EOL PROVIDE LBRACE LIDENT AS EOL YIELD
290
298
##
@@ -424,7 +432,7 @@ program: MODULE UIDENT EOL FROM UIDENT USE LBRACE YIELD
424
432
## In state 31, spurious reduction of production lbrace -> LBRACE
425
433
##
426
434
427
-
Expected a lowercase identifier to use a value, an uppercase identifier to use a module, or the keyword `type` followed by an uppercase identifier to use a type.
435
+
Expected a lowercase identifier to use a value, the keyword `module` followed by an uppercase identifier to use a module, or the keyword `type` followed by an uppercase identifier to use a type.
428
436
429
437
program: MODULE UIDENT EOL FROM UIDENT USE LBRACE TYPE YIELD
430
438
##
@@ -435,10 +443,19 @@ program: MODULE UIDENT EOL FROM UIDENT USE LBRACE TYPE YIELD
435
443
## The known suffix of the stack is as follows:
436
444
## TYPE
437
445
##
446
+
program: MODULE UIDENT EOL FROM UIDENT USE LBRACE MODULE YIELD
## In state 63, spurious reduction of production comma -> COMMA
509
527
##
510
528
511
-
Expected more items to provide or `}` to end the provide statement.
529
+
Expected a lowercase identifier to provide a value, the keyword `module` followed by an uppercase identifier to provide a module, the keyword `type` followed by an uppercase identifier to provide a type, or `}` to end the provide statement.
## In state 31, spurious reduction of production lbrace -> LBRACE
527
545
##
528
546
529
-
Expected a comma-separated list of items to provide.
547
+
Expected a lowercase identifier to provide a value, the keyword `module` followed by an uppercase identifier to provide a module, or the keyword `type` followed by an uppercase identifier to provide a type.
530
548
531
549
program: MODULE UIDENT EOL PROVIDE LBRACE TYPE YIELD
532
550
##
@@ -594,7 +612,7 @@ program: MODULE UIDENT EOL FROM UIDENT USE LBRACE LIDENT COMMA YIELD
594
612
## In state 63, spurious reduction of production comma -> COMMA
595
613
##
596
614
597
-
Expected more items to use or `}` to end the statement.
615
+
Expected a lowercase identifier to use a value, the keyword `module` followed by an uppercase identifier to use a module, the keyword `type` followed by an uppercase identifier to use a type, or `}` to end the use statement.
0 commit comments