Remove the negative-constant code from the compiler; I think it's going to
break a=-1 (with no spaces). Backed out changeset dead3363ac7d.
This commit is contained in:
parent
be909fe045
commit
049aff9f33
|
@ -373,15 +373,7 @@ loop:
|
||||||
return subseq(c,PLUS,INCBEF);
|
return subseq(c,PLUS,INCBEF);
|
||||||
|
|
||||||
case MINUS:
|
case MINUS:
|
||||||
/* avoid peeking a name, which could overwrite
|
return subseq(c,MINUS,DECBEF);
|
||||||
* an already set bsym. */
|
|
||||||
if (ctab[peekc = spnextchar()] == DIGIT) {
|
|
||||||
getnum();
|
|
||||||
cval = -cval;
|
|
||||||
return CON;
|
|
||||||
} else {
|
|
||||||
return subseq(c,MINUS,DECBEF);
|
|
||||||
}
|
|
||||||
|
|
||||||
case LESS:
|
case LESS:
|
||||||
if (subseq(c,0,1))
|
if (subseq(c,0,1))
|
||||||
|
|
Loading…
Reference in a new issue