mirror of
https://github.com/janet-lang/janet
synced 2025-02-03 02:39:09 +00:00
Fix parser bug.
This commit is contained in:
parent
11292c6bb3
commit
a91e29bc1d
@ -54,4 +54,7 @@ clean:
|
||||
rm sqlite3.h
|
||||
rm $(TARGET)
|
||||
|
||||
install:
|
||||
cp $(TARGET) $(DST_PATH)
|
||||
|
||||
.PHONY: clean all
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user