diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libidu/scanners.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-10-19 Claudio Fontana <claudio@gnu.org> + + * libidu/scanners.c (get_token_lisp): (tiny) fix bug in double + quoted string parsing (fix provided by Walter Sosa). + 2006-08-22 Claudio Fontana <claudio@gnu.org> * doc/idutils.texi: fix wrong example .emacs entry, where diff --git a/libidu/scanners.c b/libidu/scanners.c index b0b0b31..c9785c1 100644 --- a/libidu/scanners.c +++ b/libidu/scanners.c @@ -1632,14 +1632,14 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags) } while ( (c != EOF) && (c != '\n')); goto top; - case '"': /* string with or without ansi-C escapes */ + case '"': /* string with/without ansi-C escapes*/ string: do { c = getc (in_FILE); if (c == '\\') { c = getc (in_FILE); - continue; + goto string; } } while ( (c != EOF) && (c != '"')); goto top; |