efl/src/lib/eet
Gustavo Sverzut Barbieri f2a1f14abd eet: fix tokenizer's escape logic.
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
2014-03-13 22:08:44 -03:00
..
Eet.h alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Eet_private.h eet: reduce memory usage of Eet internal structure by removing useless structure. 2014-01-20 13:04:06 +09:00
eet_alloc.c merge: add eet 2012-09-17 16:35:38 +00:00
eet_cipher.c eet_cipher: Fix initialization of opened variable 2013-03-19 17:00:33 +00:00
eet_connection.c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
eet_data.c eet: fix tokenizer's escape logic. 2014-03-13 22:08:44 -03:00
eet_dictionary.c eet: Stopped SPANKing the naughty programmer while deleting dictionary. 2013-11-07 17:58:47 +09:00
eet_image.c fix clang bad free complaint 2013-07-16 18:20:07 +09:00
eet_lib.c comments: typo fix - s/dictionnary/dictionary 2014-02-10 10:40:12 +09:00
eet_node.c eet - dump - if group type is not a handled type, assume unknown 2014-02-13 20:08:59 +09:00
eet_utils.c merge: add eet 2012-09-17 16:35:38 +00:00