mirror of
https://github.com/janet-lang/janet
synced 2025-04-28 05:33:18 +00:00
Fix parser bug.
This commit is contained in:
parent
11292c6bb3
commit
a91e29bc1d
@ -54,4 +54,7 @@ clean:
|
|||||||
rm sqlite3.h
|
rm sqlite3.h
|
||||||
rm $(TARGET)
|
rm $(TARGET)
|
||||||
|
|
||||||
|
install:
|
||||||
|
cp $(TARGET) $(DST_PATH)
|
||||||
|
|
||||||
.PHONY: clean all
|
.PHONY: clean all
|
||||||
|
@ -419,7 +419,7 @@ static int longstring(DstParser *p, DstParseState *state, uint8_t c) {
|
|||||||
} else if (state->flags & PFLAG_END_CANDIDATE) {
|
} else if (state->flags & PFLAG_END_CANDIDATE) {
|
||||||
int i;
|
int i;
|
||||||
/* We are checking a potential end of the string */
|
/* We are checking a potential end of the string */
|
||||||
if (c != '`' && state->qcount == state->argn) {
|
if (state->qcount == state->argn) {
|
||||||
stringend(p, state);
|
stringend(p, state);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user