public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07e811
)
0 / -1 confusion for properties (bug reported by sater).
author
bal
<none@none>
Thu, 3 Oct 1985 14:41:44 +0000
(14:41 +0000)
committer
bal
<none@none>
Thu, 3 Oct 1985 14:41:44 +0000
(14:41 +0000)
util/ncgg/coerc.c
patch
|
blob
|
history
diff --git
a/util/ncgg/coerc.c
b/util/ncgg/coerc.c
index
a9991d3
..
d18c9ba
100644
(file)
--- a/
util/ncgg/coerc.c
+++ b/
util/ncgg/coerc.c
@@
-201,7
+201,7
@@
n_coerc(ti,be,al,ge,rp,in) struct varinfo *al,*ge,*rp; iocc_t in; {
c3p = & l_coercs[ncoercs-1];
c3p->c3_texpno = ti;
c3p->c3_expr = be;
- c3p->c3_prop = nallreg==0 ?
0
: allreg[0];
+ c3p->c3_prop = nallreg==0 ?
-1
: allreg[0];
c3p->c3_repl = rp->vi_int[0];
c3p->c3_codep = codeindex;
dopattern(ti==0,VI_NULL,al,ge,rp,VI_NULL);