Correct parser by using intended C equality ("==") instead of
assignment ("=") operator.
This commit is contained in:
parent
768e33c7bc
commit
eccd2b26c0
@ -124,7 +124,7 @@ PF_funcs()
|
||||
continue;
|
||||
for (cp = lbp + 1; *cp && intoken(*cp); ++cp)
|
||||
continue;
|
||||
if ((cp = lbp + 1))
|
||||
if (cp == lbp + 1)
|
||||
continue;
|
||||
*cp = EOS;
|
||||
(void)strlcpy(tok, lbp, sizeof(tok)); /* possible trunc */
|
||||
|
Loading…
Reference in New Issue
Block a user