Semicolons treated as whitespace between tokens
This commit is contained in:
parent
bf1ce6e6f6
commit
20f1985e1d
|
@ -59,7 +59,7 @@ struct Slice *nf_tokenize(const char *input)
|
||||||
int l = 1;
|
int l = 1;
|
||||||
// printd("input: '%c'\n", input[i]);
|
// printd("input: '%c'\n", input[i]);
|
||||||
|
|
||||||
if(isWhitespace(input[i])) {
|
if(isWhitespace(input[i]) || input[i] == ';') {
|
||||||
i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue