Actually ignore comments at the end of lines - broken with the commit
that made ppp *not* treat #s in quoted arguments as comments.
This commit is contained in:
parent
5059d6a601
commit
d81cf7d011
|
@ -296,7 +296,7 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags)
|
|||
int nargs;
|
||||
|
||||
nargs = 0;
|
||||
while (*script) {
|
||||
while (*script && *script != '#') {
|
||||
script += strspn(script, " \t");
|
||||
if (*script) {
|
||||
if (nargs >= maxargs - 1)
|
||||
|
|
Loading…
Reference in New Issue