tests: remove use of PARSE_PARAM

* tests/header.at: Here.
This commit is contained in:
Theophile Ranquet
2012-12-10 19:28:43 +01:00
parent 0906b12cd5
commit be27db79a5

View File

@@ -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