Fixed a couple of minor bugs
This commit is contained in:
parent
322c1c1b4c
commit
a44bbb3977
2 changed files with 6 additions and 2 deletions
|
@ -635,7 +635,8 @@ copyact(ch1,ch2,flag,level) char ch1,ch2; {
|
||||||
text_seen = 0;
|
text_seen = 0;
|
||||||
nparams++;
|
nparams++;
|
||||||
if (ch == ',' && (flag & 2)) {
|
if (ch == ',' && (flag & 2)) {
|
||||||
error(linecount, "Parameters may not be separated with a ','");
|
warning(linecount, "Parameters may not be separated with a ','");
|
||||||
|
ch = ';';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -214,7 +214,10 @@ input() {
|
||||||
backupc = 0;
|
backupc = 0;
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
if ((c = getc(finput)) == EOF) return c;
|
if ((c = getc(finput)) == EOF) {
|
||||||
|
nonline = 0;
|
||||||
|
return c;
|
||||||
|
}
|
||||||
# ifdef LINE_DIRECTIVE
|
# ifdef LINE_DIRECTIVE
|
||||||
nostartline = 1;
|
nostartline = 1;
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue