fix in preprocessor part: macro invocation with parameterlist on the

next line did not work
This commit is contained in:
ceriel
1988-07-29 18:38:25 +00:00
parent 56cd9e62f7
commit be89a9fb3d
6 changed files with 18 additions and 13 deletions

View File

@@ -10,7 +10,7 @@
#include "input.h"
int
skipspaces(ch)
skipspaces(ch, skipnl)
register int ch;
{
/* skipspaces() skips any white space and returns the first
@@ -19,6 +19,11 @@ skipspaces(ch)
for (;;) {
while (class(ch) == STSKIP)
LoadChar(ch);
if (skipnl && class(ch) == STNL) {
LoadChar(ch);
++LineNumber;
continue;
}
/* How about "\\\n"????????? */
if (ch == '/') {
LoadChar(ch);