public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580bb15
)
yet another fix: outoperand must do nothing with ps_end
author
ceriel
<none@none>
Thu, 30 Jul 1987 08:59:40 +0000
(08:59 +0000)
committer
ceriel
<none@none>
Thu, 30 Jul 1987 08:59:40 +0000
(08:59 +0000)
util/ego/ca/ca_put.c
patch
|
blob
|
history
diff --git
a/util/ego/ca/ca_put.c
b/util/ego/ca/ca_put.c
index
ceee74f
..
973fa43
100644
(file)
--- a/
util/ego/ca/ca_put.c
+++ b/
util/ego/ca/ca_put.c
@@
-271,7
+271,8
@@
STATIC outoperand(lnp)
switch(TYPE(lnp)) {
case OPNO:
- if ((em_flag[INSTR(lnp)-sp_fmnem]&EM_PAR) != PAR_NO) {
+ if (INSTR(lnp) <= sp_lmnem &&
+ (em_flag[INSTR(lnp)-sp_fmnem]&EM_PAR) != PAR_NO) {
outbyte((byte) sp_cend);
}
break;