style: clean tests

* tests/named-refs.at: here.
This commit is contained in:
Akim Demaille
2019-01-04 12:36:50 +01:00
parent df732955ff
commit eb2b5aef0a
2 changed files with 6 additions and 7 deletions

View File

@@ -272,12 +272,12 @@ static int power (int base, int exponent);
]AT_YYLEX_DECLARE_EXTERN[
}
]AT_CXX_IF([AT_LOCATION_TYPE_SPAN_IF([[
]AT_LOCATION_TYPE_SPAN_IF([[
%initial-action
{
@$.first.l = @$.first.c = 1;
@$.last = @$.first;
}]])])[
}]])[
/* Bison Declarations */
%token CALC_EOF 0 "end of input"
@@ -333,8 +333,7 @@ power (int base, int exponent)
return res;
}
]AT_CXX_IF(
[AT_LOCATION_TYPE_SPAN_IF([[
]AT_LOCATION_TYPE_SPAN_IF([[
namespace
{
std::ostream&
@@ -348,7 +347,7 @@ namespace
return o;
}
}
]])])[
]])[
]AT_YYERROR_DEFINE[
]AT_DEFINES_IF([],
[AT_CALC_LEX