mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
tests: factor iterating over skeletons
* tests/local.at (AT_FOR_EACH_SKEL): New. Use where appropriate. * data/skeletons/lalr1.d: Reject -d. * tests/input.at, tests/scanner.at: Also check D.
This commit is contained in:
@@ -157,6 +157,15 @@ m4_define([AT_SAVE_SPECIAL_FILES], [at_save_special_files])
|
||||
m4_define([AT_RESTORE_SPECIAL_FILES], [at_restore_special_files])
|
||||
|
||||
|
||||
# AT_FOR_EACH_SKEL(BODY)
|
||||
# ----------------------
|
||||
m4_define([AT_FOR_EACH_SKEL],
|
||||
[m4_foreach([b4_skel],
|
||||
[[yacc.c], [glr.c], [lalr1.cc], [glr.cc], [glr2.cc], [lalr1.d], [lalr1.java]],
|
||||
[$1])
|
||||
])
|
||||
|
||||
|
||||
|
||||
## ------------------------------- ##
|
||||
## Macros decoding Bison options. ##
|
||||
|
||||
Reference in New Issue
Block a user