public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e14ddd
)
be a bit more liberal with prefixes
author
ceriel
<none@none>
Tue, 24 Jan 1989 13:51:05 +0000
(13:51 +0000)
committer
ceriel
<none@none>
Tue, 24 Jan 1989 13:51:05 +0000
(13:51 +0000)
mach/i386/as/mach4.c
patch
|
blob
|
history
diff --git
a/mach/i386/as/mach4.c
b/mach/i386/as/mach4.c
index
b8da727
..
51ac50e
100644
(file)
--- a/
mach/i386/as/mach4.c
+++ b/
mach/i386/as/mach4.c
@@
-7,11
+7,15
@@
*/
operation
- : { address_long = 1; operand_long = 1; }
- prefix oper
+ :
+ prefix oper
+ { address_long = 1; operand_long = 1; }
+ | prefix1 /* to allow for only prefixes on a line */
;
prefix : /* empty */
- | prefix PREFIX
+ | prefix1
+ ;
+prefix1: prefix PREFIX
{ if ($2 == 0146) operand_long = ! operand_long;
if ($2 == 0147) address_long = ! address_long;
emit1($2);