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

@@ -64,7 +64,7 @@ replace(idef)
return 0;
}
LoadChar(c);
c = skipspaces(c);
c = skipspaces(c,1);
if (c != '(') { /* no replacement if no () */
error("macro %s needs arguments",
idef->id_text);