From: Stefan Behnel Date: Sun, 14 Nov 2010 17:51:03 +0000 (+0100) Subject: faster parsing of escape sequences in string literals X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2cb0c822f4d8e5477bee934954251b9f78642044;p=cython.git faster parsing of escape sequences in string literals --- diff --git a/Cython/Compiler/Parsing.pxd b/Cython/Compiler/Parsing.pxd index 76d38c51..53239188 100644 --- a/Cython/Compiler/Parsing.pxd +++ b/Cython/Compiler/Parsing.pxd @@ -53,6 +53,7 @@ cpdef p_name(PyrexScanner s, name) cpdef p_cat_string_literal(PyrexScanner s) cpdef p_opt_string_literal(PyrexScanner s, required_type=*) cpdef bint check_for_non_ascii_characters(unicode string) +@cython.locals(systr=unicode) cpdef p_string_literal(PyrexScanner s, kind_override=*) cpdef p_list_maker(PyrexScanner s) cpdef p_comp_iter(PyrexScanner s, body)