Skip to content

Commit f109739

Browse files
committed
Grammar rules to make the epilogue declaration optional in the parser input
```diff diff --git a/lib/lrama/grammar/stdlib.y b/lib/lrama/grammar/stdlib.y index fc20e0a..b6196d9 100644 --- a/lib/lrama/grammar/stdlib.y +++ b/lib/lrama/grammar/stdlib.y @@ -116,7 +116,3 @@ */ %rule separated_list(separator, X): option(separated_nonempty_list(separator, X)) ; - -%% - -%union{}; ```
1 parent ab4ac7d commit f109739

File tree

3 files changed

+420
-406
lines changed

3 files changed

+420
-406
lines changed

lib/lrama/grammar/stdlib.y

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,3 @@
116116
*/
117117
%rule separated_list(separator, X): option(separated_nonempty_list(separator, X))
118118
;
119-
120-
%%
121-
122-
%union{};

0 commit comments

Comments
 (0)