[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] style: space changes in the parser
From: |
Akim Demaille |
Subject: |
[PATCH 3/5] style: space changes in the parser |
Date: |
Mon, 4 Feb 2013 16:50:06 +0100 |
* src/parse-gram.y: Fix spaces.
---
src/parse-gram.y | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/parse-gram.y b/src/parse-gram.y
index a509435..0fd4687 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); }
;
/*---------------------------.
--
1.8.1.2
- [PATCH 0/5] {master} cleaning up, Akim Demaille, 2013/02/04
- [PATCH 3/5] style: space changes in the parser,
Akim Demaille <=
- [PATCH 5/5] tests: improve the language independance layer, Akim Demaille, 2013/02/04
- [PATCH 2/5] parser: use api.pure full, Akim Demaille, 2013/02/04
- [PATCH 4/5] regen, Akim Demaille, 2013/02/04
- [PATCH 1/5] style: use a for loop instead of a while loop, and scope reduction, Akim Demaille, 2013/02/04