1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 14:43:16 +00:00

Fix parser bug.

This commit is contained in:
Calvin Rose 2018-07-18 15:56:21 -04:00
parent 11292c6bb3
commit a91e29bc1d
2 changed files with 4 additions and 1 deletions

View File

@ -54,4 +54,7 @@ clean:
rm sqlite3.h
rm $(TARGET)
install:
cp $(TARGET) $(DST_PATH)
.PHONY: clean all

View File

@ -419,7 +419,7 @@ static int longstring(DstParser *p, DstParseState *state, uint8_t c) {
} else if (state->flags & PFLAG_END_CANDIDATE) {
int i;
/* We are checking a potential end of the string */
if (c != '`' && state->qcount == state->argn) {
if (state->qcount == state->argn) {
stringend(p, state);
return 0;
}