Create parser without defining %union - #654
Merged
Merged
Conversation
ydah
force-pushed
the
can-remove-%%-union
branch
from
March 18, 2025 14:49
f6dab85 to
f109739
Compare
Collaborator
|
Do we need to take care of "template/bison/_yacc.h" if |
ydah
marked this pull request as draft
August 28, 2025 09:32
ydah
marked this pull request as ready for review
August 28, 2025 15:20
ydah
force-pushed
the
can-remove-%%-union
branch
from
August 30, 2025 14:47
f109739 to
9406bde
Compare
Member
Author
I tried to take care of it. How about this? |
yui-knk
reviewed
Aug 31, 2025
yui-knk
reviewed
Aug 31, 2025
Collaborator
|
Could you squash the commits into one? |
yui-knk
approved these changes
Sep 1, 2025
%union
Fixes: ruby#480 If %union is not defined, Integer is used by default. ```c /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef int YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif ```
ydah
force-pushed
the
can-remove-%%-union
branch
from
September 1, 2025 02:06
0edaf79 to
92de868
Compare
Member
Author
I squash these commits! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #480
If %union is not defined, Integer is used by default.