Properly detect missing quote after escape sequence.

This commit is contained in:
Dianne Skoll
2022-09-23 20:42:57 -04:00
parent 7cd8cf3a77
commit 18043080ba

View File

@@ -253,6 +253,10 @@ static int ParseExprToken(DynamicBuffer *buf, char const **in)
DBufFree(buf);
return E_NO_MEM;
}
if (!**in) {
DBufFree(buf);
return E_MISS_QUOTE;
}
continue;
}
c = *(*in)++;