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 | b585bc2c0ac716d16d6db3bdfe9f4524de1d7149 (patch) | |
tree | 80bf3574cf8f5681536add1f53859a6ea063eb72 /gas/expr.h | |
parent | 1c32af2255abf839bf48b241efd4ce0e670eb00c (diff) | |
download | gdb-b585bc2c0ac716d16d6db3bdfe9f4524de1d7149.zip gdb-b585bc2c0ac716d16d6db3bdfe9f4524de1d7149.tar.gz gdb-b585bc2c0ac716d16d6db3bdfe9f4524de1d7149.tar.bz2 |
* 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
@@ -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; |