aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2001-10-11 12:20:25 +0000
committerKazu Hirata <kazu@codesourcery.com>2001-10-11 12:20:25 +0000
commit3b37fd66739329ee8493b9c2abb494757802316e (patch)
treeebe9d02f85b2717f29d00a79ccb694c89ea00b79 /gas/expr.c
parent685bd8696659b13e21af82e8d720f650ca0db2b3 (diff)
downloadgdb-3b37fd66739329ee8493b9c2abb494757802316e.zip
gdb-3b37fd66739329ee8493b9c2abb494757802316e.tar.gz
gdb-3b37fd66739329ee8493b9c2abb494757802316e.tar.bz2
* app.c: Fix comment typos.
* bit_fix.h: Likewise. * expr.c: Likewise. * itbl-ops.c: Likewise.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 499f9a3..74c49d9 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -759,7 +759,7 @@ current_location (expressionp)
/* In: Input_line_pointer points to 1st char of operand, which may
be a space.
- Out: A expressionS.
+ Out: An expressionS.
The operand may have been empty: in this case X_op == O_absent.
Input_line_pointer->(next non-blank) char after operand. */
@@ -1342,7 +1342,7 @@ operand (expressionP)
/* Internal. Simplify a struct expression for use by expr (). */
-/* In: address of a expressionS.
+/* In: address of an expressionS.
The X_op field of the expressionS may only take certain values.
Elsewise we waste time special-case testing. Sigh. Ditto SEG_ABSENT.
@@ -1399,7 +1399,7 @@ clean_up_expression (expressionP)
Unary operators and parenthetical expressions are treated as operands.
As usual, Q==quantity==operand, O==operator, X==expression mnemonics.
- We used to do a aho/ullman shift-reduce parser, but the logic got so
+ We used to do an aho/ullman shift-reduce parser, but the logic got so
warped that I flushed it and wrote a recursive-descent parser instead.
Now things are stable, would anybody like to write a fast parser?
Most expressions are either register (which does not even reach here)