diff options
author | Richard Henderson <rth@redhat.com> | 1999-06-03 02:51:27 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-06-03 02:51:27 +0000 |
commit | 2152e7a8d083ddd337674f5aac95a2a8ec0ae55b (patch) | |
tree | 253977886890c9163c4f6996a05c3e5ece89655e /gas/expr.h | |
parent | 031766c85b88e4f3644de473c90b0a93780818f2 (diff) | |
download | binutils-redhat-2152e7a8d083ddd337674f5aac95a2a8ec0ae55b.tar.gz |
* expr.c (operand): Don't use [ for parens if we want an index op.
(op_encoding): Switch [ into O_index, if desired.
(op_rank): Renumber with O_index on bottom.
(expr): If O_index, match closing bracket.
* expr.h (O_index): New.
Diffstat (limited to 'gas/expr.h')
-rw-r--r-- | gas/expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/expr.h b/gas/expr.h index cdf337a811..14a2fd2720 100644 --- a/gas/expr.h +++ b/gas/expr.h @@ -102,6 +102,8 @@ typedef enum O_logical_and, /* (X_add_symbol || X_op_symbol) + X_add_number. */ O_logical_or, + /* X_op_symbol [ X_add_symbol ] */ + O_index, /* this must be the largest value */ O_max } operatorT; |