bison.m4 (bison-3.8.1.tar.xz) | : | bison.m4 (bison-3.8.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 390 | skipping to change at line 390 | |||
b4_define_flag_if([glr]) # Whether a GLR parser is requested. | b4_define_flag_if([glr]) # Whether a GLR parser is requested. | |||
b4_define_flag_if([has_translations]) # Whether some tokens are internationali zed. | b4_define_flag_if([has_translations]) # Whether some tokens are internationali zed. | |||
b4_define_flag_if([header]) # Whether a header is requested. | b4_define_flag_if([header]) # Whether a header is requested. | |||
b4_define_flag_if([nondeterministic]) # Whether conflicts should be handled. | b4_define_flag_if([nondeterministic]) # Whether conflicts should be handled. | |||
b4_define_flag_if([token_table]) # Whether yytoken_table is demanded. | b4_define_flag_if([token_table]) # Whether yytoken_table is demanded. | |||
b4_define_flag_if([yacc]) # Whether POSIX Yacc is emulated. | b4_define_flag_if([yacc]) # Whether POSIX Yacc is emulated. | |||
# b4_glr_cc_if([IF-TRUE], [IF-FALSE]) | # b4_glr_cc_if([IF-TRUE], [IF-FALSE]) | |||
# ----------------------------------- | # ----------------------------------- | |||
m4_define([b4_glr_cc_if], | m4_define([b4_glr_cc_if], | |||
[m4_if(m4_bregexp(b4_skeleton, [^"glr.cc"$]), [0], $@)]) | [m4_if(b4_skeleton, ["glr.cc"], $@)]) | |||
# b4_glr2_cc_if([IF-TRUE], [IF-FALSE]) | ||||
# ------------------------------------ | ||||
m4_define([b4_glr2_cc_if], | ||||
[m4_if(b4_skeleton, ["glr2.cc"], $@)]) | ||||
## --------- ## | ## --------- ## | |||
## Symbols. ## | ## Symbols. ## | |||
## --------- ## | ## --------- ## | |||
# For a description of the Symbol handling, see README.md. | # For a description of the Symbol handling, see README.md. | |||
# | # | |||
# The following macros provide access to symbol related values. | # The following macros provide access to symbol related values. | |||
# __b4_symbol(NUM, FIELD) | # __b4_symbol(NUM, FIELD) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added |