lrama icon indicating copy to clipboard operation
lrama copied to clipboard

Grammar rules to make the epilogue declaration optional in the parser input

Open ydah opened this issue 9 months ago • 1 comments

diff --git a/lib/lrama/grammar/stdlib.y b/lib/lrama/grammar/stdlib.y
index fc20e0a0d0..b6196d91c3 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{};

ydah avatar Mar 18 '25 14:03 ydah

Do we need to take care of "template/bison/_yacc.h" if union is nullable?

yui-knk avatar Mar 20 '25 04:03 yui-knk

Do we need to take care of "template/bison/_yacc.h" if union is nullable?

I tried to take care of it. How about this?

ydah avatar Aug 30 '25 14:08 ydah

Could you squash the commits into one?

yui-knk avatar Sep 01 '25 01:09 yui-knk

Could you squash the commits into one?

I squash these commits!

ydah avatar Sep 01 '25 02:09 ydah