summaryrefslogtreecommitdiff
path: root/src/symtab.c
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-10-04 23:44:44 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-10-05 00:12:58 -0400
commit42ec0ae176c4c75b9b29d7e01b4e543c54cdfa5e (patch)
treee471ca5461430dcc21464fbc0bd3c8e619e27ce1 /src/symtab.c
parent9637e0ed1c05a637f851a52a42a13d52d254b66f (diff)
downloadbison-42ec0ae176c4c75b9b29d7e01b4e543c54cdfa5e.tar.gz
Minor code cleanup.
* src/parse-gram.y: Clean up sorting of declarations. Use types to simplify %printer declarations where possible. Provide %printer for BRACKETED_ID and symbol.prec. * src/symtab.c: Whitespace change. (cherry picked from commit b143f4048fe39451ec739d956b4ca1f4fd8e694d) Conflicts: src/parse-gram.c src/parse-gram.h src/parse-gram.y
Diffstat (limited to 'src/symtab.c')
-rw-r--r--src/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symtab.c b/src/symtab.c
index e694db48..a2631852 100644
--- a/src/symtab.c
+++ b/src/symtab.c
@@ -454,7 +454,7 @@ static inline void
symbol_check_alias_consistency (symbol *this)
{
symbol *sym = this;
- symbol *str = this->alias;
+ symbol *str = this->alias;
/* Check only the symbol in the symbol-string pair. */
if (!(this->alias