tests: fixes

* tests/c++.at: Use AT_YYLEX_PROTOTYPE etc.
Which requires that we use the same argument names (lvalp, etc.).
* tests/local.at (AT_NAME_PREFIX): Fix regex.
This commit is contained in:
Akim Demaille
2018-12-23 09:53:57 +01:00
parent 0978148763
commit 777b0163de
2 changed files with 15 additions and 19 deletions

View File

@@ -186,7 +186,7 @@ m4_pushdef([AT_PUSH_IF],
[m4_bmatch([$3], [%define api.push-pull \(both\|pull\)], [$1], [$2])])
# AT_NAME_PREFIX.
m4_pushdef([AT_NAME_PREFIX],
[m4_bmatch([$3], [\(%define api\.\|prefix\|%name-prefix\) .*],
[m4_bmatch([$3], [\(%define api\.prefix\|%name-prefix\) .*],
[m4_bregexp([$3],
[\(%define api\.prefix\|%name-prefix\) [\{\"]\([^\"\}]*\)[\"\}]],
[\2])],