fixes for .(

This commit is contained in:
2021-11-27 01:41:33 +01:00
parent 8d66238f47
commit 13a069f075
+1 -1
View File
@@ -292,7 +292,7 @@ static enum fh_error w_dot_quote(struct fh_thread_s *fh, const struct fh_word_s
}
}
if (fh->state == FH_STATE_INTERPRET) {
if (fh->state == FH_STATE_INTERPRET || c == ')') { // XXX special case for .(
FHPRINT("%.*s", (int) len, start);
// the string is invalidated immediately, heap pointer is NOT advanced.
} else {