mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Issue #23330: h2py now supports arbitrary filenames in #include.
This commit is contained in:
parent
122f4b1bda
commit
b9c04db64f
2 changed files with 4 additions and 1 deletions
|
@ -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('//.*')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue