| "\n++" UnaryExpression { $$ = new(driver.pool_) CYPreIncrement($2); }
| "--" UnaryExpression { $$ = new(driver.pool_) CYPreDecrement($2); }
| "\n--" UnaryExpression { $$ = new(driver.pool_) CYPreDecrement($2); }
| "\n++" UnaryExpression { $$ = new(driver.pool_) CYPreIncrement($2); }
| "--" UnaryExpression { $$ = new(driver.pool_) CYPreDecrement($2); }
| "\n--" UnaryExpression { $$ = new(driver.pool_) CYPreDecrement($2); }
| "-" UnaryExpression { $$ = new(driver.pool_) CYNegate($2); }
| "~" UnaryExpression { $$ = new(driver.pool_) CYBitwiseNot($2); }
| "!" UnaryExpression { $$ = new(driver.pool_) CYLogicalNot($2); }
| "-" UnaryExpression { $$ = new(driver.pool_) CYNegate($2); }
| "~" UnaryExpression { $$ = new(driver.pool_) CYBitwiseNot($2); }
| "!" UnaryExpression { $$ = new(driver.pool_) CYLogicalNot($2); }
- : "->" Identifier { $$ = new(driver.pool_) CYIndirectMember(NULL, new(driver.pool_) CYString($2)); }
+ : "->" "[" Expression "]" { $$ = new(driver.pool_) CYIndirectMember(NULL, $3); }
+ | "->" Identifier { $$ = new(driver.pool_) CYIndirectMember(NULL, new(driver.pool_) CYString($2)); }