Issue #23330: h2py now supports arbitrary filenames in #include.

This commit is contained in:
Serhiy Storchaka 2015-05-03 15:35:14 +03:00
parent 122f4b1bda
commit b9c04db64f
2 changed files with 4 additions and 1 deletions

View File

@ -254,8 +254,11 @@ Documentation
Tools/Demos
-----------
- Issue #23330: h2py now supports arbitrary filenames in #include.
- Issue #24031: make patchcheck now supports git checkouts, too.
What's New in Python 3.4.3?
===========================

View File

@ -29,7 +29,7 @@ p_macro = re.compile(
'^[\t ]*#[\t ]*define[\t ]+'
'([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('^[\t ]*#[\t ]*include[\t ]+<([^>\n]+)>')
p_comment = re.compile(r'/\*([^*]+|\*+[^/])*(\*+/)?')
p_cpp_comment = re.compile('//.*')