mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +00:00
style: space changes in the parser
* src/parse-gram.y: Fix spaces.
This commit is contained in:
@@ -64,7 +64,7 @@ static char const *char_name (char);
|
|||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
void
|
void
|
||||||
current_lhs(symbol *sym, location loc, named_ref *ref)
|
current_lhs (symbol *sym, location loc, named_ref *ref)
|
||||||
{
|
{
|
||||||
current_lhs_symbol = sym;
|
current_lhs_symbol = sym;
|
||||||
current_lhs_location = loc;
|
current_lhs_location = loc;
|
||||||
@@ -250,9 +250,9 @@ static char const *char_name (char);
|
|||||||
{
|
{
|
||||||
#define CASE(In, Out) \
|
#define CASE(In, Out) \
|
||||||
case param_ ## In: fputs ("%" #Out, stderr); break
|
case param_ ## In: fputs ("%" #Out, stderr); break
|
||||||
CASE(lex, lex-param);
|
CASE (lex, lex-param);
|
||||||
CASE(parse, parse-param);
|
CASE (parse, parse-param);
|
||||||
CASE(both, param);
|
CASE (both, param);
|
||||||
#undef CASE
|
#undef CASE
|
||||||
case param_none: aver (false); break;
|
case param_none: aver (false); break;
|
||||||
}
|
}
|
||||||
@@ -626,7 +626,7 @@ rhs:
|
|||||||
named_ref.opt:
|
named_ref.opt:
|
||||||
/* Nothing. */ { $$ = 0; }
|
/* Nothing. */ { $$ = 0; }
|
||||||
|
|
|
|
||||||
BRACKETED_ID { $$ = named_ref_new($1, @1); }
|
BRACKETED_ID { $$ = named_ref_new ($1, @1); }
|
||||||
;
|
;
|
||||||
|
|
||||||
/*---------------------------.
|
/*---------------------------.
|
||||||
|
|||||||
Reference in New Issue
Block a user