f2a1f14abd
Tokenizer's approach of looking back is horrible and breaks the following simple case (bug I had that lead to this patch): "string\\" As the parser would get the end quote and check the previous character if it was a backslash and it was, but it was not escaping the quote, but being escaped by the previous backslash. The best approach is to first check for escape and then go to quote. Escape is simple and only the following byte, so we enter escape, process the byte and then are back to regular mode (be it quote or unquote). Added testcase so we avoid breaking it again. @bugfix cherry-pick |
||
---|---|---|
.. | ||
Eet.h | ||
Eet_private.h | ||
eet_alloc.c | ||
eet_cipher.c | ||
eet_connection.c | ||
eet_data.c | ||
eet_dictionary.c | ||
eet_image.c | ||
eet_lib.c | ||
eet_node.c | ||
eet_utils.c |