added code to recognize ms_gto

This commit is contained in:
sater 1984-05-19 11:48:40 +00:00
parent 54e681c6cc
commit 9dfcd76f4b

View file

@ -267,6 +267,12 @@ dopseudo() {
if ( getarg(any_ptyp)!=sp_cend ) if ( getarg(any_ptyp)!=sp_cend )
fatal("too many parameters"); fatal("too many parameters");
#ifdef REGVARS #ifdef REGVARS
} else if (argval == ms_gto) {
getarg(ptyp(sp_cend));
if (!regallowed)
error("mes 3 not allowed here");
fixregvars(TRUE);
regallowed=0;
} else if (argval == ms_reg) { } else if (argval == ms_reg) {
long r_off; long r_off;
int r_size,r_type,r_score; int r_size,r_type,r_score;
@ -275,7 +281,7 @@ dopseudo() {
if (!regallowed) if (!regallowed)
error("mes 3 not allowed here"); error("mes 3 not allowed here");
if(getarg(ptyp(sp_cst2)|ptyp(sp_cend)) == sp_cend) { if(getarg(ptyp(sp_cst2)|ptyp(sp_cend)) == sp_cend) {
fixregvars(); fixregvars(FALSE);
regallowed=0; regallowed=0;
} else { } else {
r_off = argval; r_off = argval;