mirror of
https://github.com/janet-lang/janet
synced 2025-09-19 03:04:11 +00:00
Fix parser bug.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user