mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
m4: optimize.
* data/bison.m4, data/java.m4, data/variant.hh: m4_map_args is reported to be faster than m4_map.
This commit is contained in:
@@ -463,7 +463,7 @@ m4_define([b4_token_format],
|
||||
# Skip NUMS that have no type-name.
|
||||
m4_define([b4_type_action_],
|
||||
[b4_symbol_if([$1], [has_type],
|
||||
[m4_map([b4_symbol_case_], [$@])[]dnl
|
||||
[m4_map_args([b4_symbol_case_], $@)[]dnl
|
||||
b4_dollar_dollar([b4_symbol([$1], [number])],
|
||||
[b4_symbol([$1], [tag])],
|
||||
[b4_symbol([$1], [type])]);
|
||||
|
||||
Reference in New Issue
Block a user