1c,2c,7c,kc,vc: honor suppress condition for outstring() in swt.c
This commit is contained in:
parent
8234f9d906
commit
29a53a52fd
7 changed files with 12 additions and 0 deletions
|
@ -200,6 +200,7 @@ EXTERN long* idom;
|
|||
EXTERN Reg** rpo2r;
|
||||
EXTERN long maxnr;
|
||||
EXTERN Prog zprog;
|
||||
EXTERN int suppress;
|
||||
|
||||
EXTERN uchar regused[NREG];
|
||||
EXTERN uchar aregused[NREG];
|
||||
|
|
|
@ -226,6 +226,8 @@ outstring(char *s, long n)
|
|||
{
|
||||
long r;
|
||||
|
||||
if(suppress)
|
||||
return nstring;
|
||||
r = nstring;
|
||||
while(n) {
|
||||
string[mnstring] = *s++;
|
||||
|
|
|
@ -216,6 +216,7 @@ EXTERN long* idom;
|
|||
EXTERN Reg** rpo2r;
|
||||
EXTERN long maxnr;
|
||||
EXTERN Prog zprog;
|
||||
EXTERN int suppress;
|
||||
|
||||
EXTERN uchar regused[NREG];
|
||||
EXTERN uchar aregused[NREG];
|
||||
|
|
|
@ -306,6 +306,8 @@ outstring(char *s, long n)
|
|||
{
|
||||
long r;
|
||||
|
||||
if(suppress)
|
||||
return nstring;
|
||||
r = nstring;
|
||||
while(n) {
|
||||
string[mnstring] = *s++;
|
||||
|
|
|
@ -144,6 +144,8 @@ outstring(char *s, long n)
|
|||
{
|
||||
long r;
|
||||
|
||||
if(suppress)
|
||||
return nstring;
|
||||
r = nstring;
|
||||
while(n) {
|
||||
string[mnstring] = *s++;
|
||||
|
|
|
@ -128,6 +128,8 @@ outstring(char *s, long n)
|
|||
{
|
||||
long r;
|
||||
|
||||
if(suppress)
|
||||
return nstring;
|
||||
r = nstring;
|
||||
while(n) {
|
||||
string[mnstring] = *s++;
|
||||
|
|
|
@ -124,6 +124,8 @@ outstring(char *s, long n)
|
|||
{
|
||||
long r;
|
||||
|
||||
if(suppress)
|
||||
return nstring;
|
||||
r = nstring;
|
||||
while(n) {
|
||||
string[mnstring] = *s++;
|
||||
|
|
Loading…
Reference in a new issue