diff options
Diffstat (limited to 'patches/23_all_h2py_encoding.patch')
-rw-r--r-- | patches/23_all_h2py_encoding.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/23_all_h2py_encoding.patch b/patches/23_all_h2py_encoding.patch index 8a0fbb4..f472b7c 100644 --- a/patches/23_all_h2py_encoding.patch +++ b/patches/23_all_h2py_encoding.patch @@ -15,8 +15,8 @@ https://bugs.python.org/issue13032 + b'^[\t ]*#[\t ]*define[\t ]+' + b'([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+') --p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)') -+p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)') +-p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([^>\n]+)>') ++p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([^>\n]+)>') -p_comment = re.compile(r'/\*([^*]+|\*+[^/])*(\*+/)?') -p_cpp_comment = re.compile('//.*') |