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

This commit is contained in:
Serhiy Storchaka 2015-05-03 15:36:37 +03:00
commit d2a694c1be
2 changed files with 4 additions and 1 deletions

View File

@ -65,8 +65,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.5.0 alpha 4?
===================================

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('//.*')