mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: remove use of PARSE_PARAM
* tests/header.at: Here.
This commit is contained in:
@@ -229,16 +229,13 @@ AT_TEST([x8], [%define api.pure %define api.push-pull both])
|
|||||||
# C++ output relies on namespaces and still uses yy a lot.
|
# C++ output relies on namespaces and still uses yy a lot.
|
||||||
#
|
#
|
||||||
# Check there is no 'YY' left.
|
# Check there is no 'YY' left.
|
||||||
# Ignore comments, YYChar (template parameter), YYPARSE_PARAM
|
# Ignore comments, YYChar (template parameter), YYPUSH_MORE(_DEFINED)?
|
||||||
# (obsolete), YYPUSH_MORE(_DEFINED)? (constant definition),
|
# (constant definition), YY_\w+_INCLUDED (header guards).
|
||||||
# YY_\w+_INCLUDED (header guards).
|
|
||||||
#
|
|
||||||
# YYDEBUG (not renamed) can be read, but not changed.
|
# YYDEBUG (not renamed) can be read, but not changed.
|
||||||
AT_CHECK([[$PERL -n -0777 -e '
|
AT_CHECK([[$PERL -n -0777 -e '
|
||||||
s{/\*.*?\*/}{}gs;
|
s{/\*.*?\*/}{}gs;
|
||||||
s{//.*}{}g;
|
s{//.*}{}g;
|
||||||
s{\b(YYChar
|
s{\b(YYChar
|
||||||
|YYPARSE_PARAM
|
|
||||||
|YYPUSH_MORE(_DEFINED)?
|
|YYPUSH_MORE(_DEFINED)?
|
||||||
|YY_\w+_INCLUDED
|
|YY_\w+_INCLUDED
|
||||||
|YY_NULL
|
|YY_NULL
|
||||||
|
|||||||
Reference in New Issue
Block a user