# gnulib modules used by this package.
gnulib_modules='
- announce-gen argmatch assert calloc-posix close closeout config-h c-strcase
+ argmatch assert calloc-posix close closeout config-h c-strcase
configmake
dirname
- do-release-commit-and-tag
- error extensions fdl fopen-safer gendocs getopt-gnu
+ error extensions fdl fopen-safer getopt-gnu
gettext git-version-gen gitlog-to-changelog
gpl-3.0 hash inttypes isnan javacomp-script
- javaexec-script ldexpl maintainer-makefile malloc-gnu
- javaexec-script ldexpl malloc-gnu mbschr mbsrchr
++ javaexec-script ldexpl malloc-gnu
mbswidth obstack perror progname
quote quotearg
readme-release
# Expansion of @NUM, where the current rule has RULE-LENGTH symbols
# on RHS.
m4_define([b4_rhs_location],
-[(((yyGLRStackItem const *)yyvsp)@{YYFILL (($2) - ($1))@}.yystate.yyloc)])
+[(b4_rhs_data([$1], [$2]).yyloc)])
+ ## -------------- ##
+ ## Declarations. ##
+ ## -------------- ##
+
+ # b4_shared_declarations
+ # ----------------------
+ # Declaration that might either go into the header (if --defines)
+ # or open coded in the parser body.
+ m4_define([b4_shared_declarations],
+ [b4_percent_code_get([[requires]])[
+ ]b4_token_enums(b4_tokens)[
+ ]b4_declare_yylstype[
+ ]b4_percent_code_get([[provides]])[]dnl
+ ])
+
## -------------- ##
## Output files. ##
# Expansion of @NUM, where the current rule has RULE-LENGTH symbols
# on RHS.
m4_define([b4_rhs_location],
-[(yylsp@{($2) - ($1)@})])
+ [(yylsp@{b4_subtract([$2], [$1])@})])
- ## ------------------ ##
- ## Parser variables. ##
- ## ------------------ ##
+ ## -------------- ##
+ ## Declarations. ##
+ ## -------------- ##
# b4_declare_scanner_communication_variables
# ------------------------------------------