diff options
Diffstat (limited to 'engines/glk/archetype/expression.cpp')
-rw-r--r-- | engines/glk/archetype/expression.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/archetype/expression.cpp b/engines/glk/archetype/expression.cpp index 6f71dd502d..f468b4fec3 100644 --- a/engines/glk/archetype/expression.cpp +++ b/engines/glk/archetype/expression.cpp @@ -25,11 +25,12 @@ namespace Glk { namespace Archetype { -bool Right_Assoc[NUM_OPERS + 1]; -bool Binary[NUM_OPERS + 1]; -int8 Precedence[NUM_OPERS + 1]; +bool Right_Assoc[NUM_OPERS + 2]; +bool Binary[NUM_OPERS + 2]; +int8 Precedence[NUM_OPERS + 2]; void expression_init() { + Binary[OP_NOP] = false; Binary[OP_LPAREN] = false; Binary[OP_DOT] = true; Binary[OP_CHS] = false; @@ -124,6 +125,5 @@ void expression_init() { Precedence[OP_ASSIGN] = 1; } - } // End of namespace Archetype } // End of namespace Glk |