compiler/libec/grammars: Fixed sizeof("a" + 1)
authorJerome St-Louis <jerome@ecere.com>
Tue, 6 May 2014 09:04:58 +0000 (05:04 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 6 May 2014 09:04:58 +0000 (05:04 -0400)
commit84da1b0346eea9c25016618a2c56a7d292dc4bb4
treed685dec21115a0c5cec09d23a5f701c36412de52
parent471d745560a917341920a7675f3dd8d27b8becc7
compiler/libec/grammars: Fixed sizeof("a" + 1)
- This was previously causing a syntax error
- The sizeof rule had been split off in 2 rules in December 2005:
   SIZEOF '(' unary_expression ')'
   SIZEOF simple_unary_expression
  This was causing these errors. The reason for the split is long forgotten,
  perhaps this was to avoid conflicts which we now see as unavoidable
  for error tolerance with Bison.
12 files changed:
compiler/bootstrap/libec/bootstrap/expression.c
compiler/bootstrap/libec/bootstrap/grammar.c
compiler/bootstrap/libec/bootstrap/type.c
compiler/libec/precompiled/expression.c
compiler/libec/precompiled/grammar.c
compiler/libec/precompiled/type.c
compiler/libec/src/expression.ec
compiler/libec/src/expression.y
compiler/libec/src/grammar.ec
compiler/libec/src/grammar.y
compiler/libec/src/type.ec
compiler/libec/src/type.y