From: Akim Demaille Date: Mon, 4 Feb 2013 14:52:38 +0000 (+0100) Subject: style: space changes in the parser X-Git-Tag: v2.7.90~111 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/f50fa14529cd5e9e0325bbd65b7eedbe22f5d887 style: space changes in the parser * src/parse-gram.y: Fix spaces. --- diff --git a/src/parse-gram.y b/src/parse-gram.y index a5094350..0fd4687e 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -64,7 +64,7 @@ static char const *char_name (char); */ static 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_location = loc; @@ -250,9 +250,9 @@ static char const *char_name (char); { #define CASE(In, Out) \ case param_ ## In: fputs ("%" #Out, stderr); break - CASE(lex, lex-param); - CASE(parse, parse-param); - CASE(both, param); + CASE (lex, lex-param); + CASE (parse, parse-param); + CASE (both, param); #undef CASE case param_none: aver (false); break; } @@ -626,7 +626,7 @@ rhs: named_ref.opt: /* Nothing. */ { $$ = 0; } | - BRACKETED_ID { $$ = named_ref_new($1, @1); } + BRACKETED_ID { $$ = named_ref_new ($1, @1); } ; /*---------------------------.