X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2c056d696d4c9cfc5df657e5474f62dd56471900..c5dbd909d0fcdacb46d4d601ebcadfc0f680cd56:/src/parse-gram.y?ds=inline diff --git a/src/parse-gram.y b/src/parse-gram.y index a5094350..2c84cb1c 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; } @@ -438,7 +438,7 @@ grammar_declaration: "%union" union_name braceless { union_seen = true; - muscle_code_grow ("stype", $3, @3); + muscle_code_grow ("union_members", $3, @3); code_scanner_last_string_free (); } ; @@ -626,7 +626,7 @@ rhs: named_ref.opt: /* Nothing. */ { $$ = 0; } | - BRACKETED_ID { $$ = named_ref_new($1, @1); } + BRACKETED_ID { $$ = named_ref_new ($1, @1); } ; /*---------------------------.