[svn:parrot] r46800 - trunk/src/string
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Wed May 19 18:33:06 UTC 2010
Author: NotFound
Date: Wed May 19 18:33:06 2010
New Revision: 46800
URL: https://trac.parrot.org/parrot/changeset/46800
Log:
fix parsing of \xHH in Parrot_str_unescape_string
Modified:
trunk/src/string/api.c
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Wed May 19 18:28:33 2010 (r46799)
+++ trunk/src/string/api.c Wed May 19 18:33:06 2010 (r46800)
@@ -2619,7 +2619,7 @@
digbuf[digcount] = c;
c = itersrc.get_and_advance(interp, &itersrc);
}
- pending = 1;
+ pending = digcount < 2;
}
if (digcount == 0)
throw_illegal_escape(interp);
More information about the parrot-commits
mailing list