mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
clearly deprecate %name-prefix
* src/scan-gram.l (%name-prefix): Issue a deprecation warning. * tests/calc.at, tests/headers.at, tests/input.at, tests/java.at, * tests/javapush.at, tests/local.at: Adjust expectations. Or disable -Wdeprecated. * doc/bison.texi: Document that %name-prefix is replaced by %define api.prefix.
This commit is contained in:
@@ -874,15 +874,16 @@ m4_define([AT_LANG_HDR(c)], [h])
|
||||
m4_define([AT_LANG_HDR(c++)], [hh])
|
||||
|
||||
|
||||
# AT_FULL_COMPILE(OUTPUT, [OTHER1], [OTHER2], [EXTRA-COMPILER-FLAGS)
|
||||
# ------------------------------------------------------------------
|
||||
# AT_FULL_COMPILE(OUTPUT, [OTHER1], [OTHER2],
|
||||
# [$4: EXTRA-COMPILER-FLAGS, [$5: EXTRA-BISON-FLAGS])
|
||||
# -------------------------------------------------------------------
|
||||
# Compile OUTPUT.y to OUTPUT.c, OUTPUT.cc, or OUTPUT.java, and then
|
||||
# compile it to OUTPUT or OUTPUT.class. If OTHER is specified, compile
|
||||
# OUTPUT-OTHER.c, OUTPUT-OTHER.cc, or OUTPUT-OTHER.java to OUTPUT or
|
||||
# OUTPUT.java along with it. Relies on AT_CXX_IF and
|
||||
# AT_JAVA_IF.
|
||||
m4_define([AT_FULL_COMPILE],
|
||||
[AT_BISON_CHECK([-o $1.AT_LANG_EXT $1.y])
|
||||
[AT_BISON_CHECK([$5 -o $1.AT_LANG_EXT $1.y])
|
||||
AT_LANG_COMPILE([$1],
|
||||
m4_join([ ],
|
||||
[$1.AT_LANG_EXT],
|
||||
|
||||
Reference in New Issue
Block a user