Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b9c04db6
Commit
b9c04db6
authored
May 03, 2015
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23330: h2py now supports arbitrary filenames in #include.
parent
122f4b1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Tools/scripts/h2py.py
Tools/scripts/h2py.py
+1
-1
No files found.
Misc/NEWS
View file @
b9c04db6
...
@@ -254,8 +254,11 @@ Documentation
...
@@ -254,8 +254,11 @@ Documentation
Tools/Demos
Tools/Demos
-----------
-----------
- Issue #23330: h2py now supports arbitrary filenames in #include.
- Issue #24031: make patchcheck now supports git checkouts, too.
- Issue #24031: make patchcheck now supports git checkouts, too.
What'
s
New
in
Python
3.4.3
?
What'
s
New
in
Python
3.4.3
?
===========================
===========================
...
...
Tools/scripts/h2py.py
View file @
b9c04db6
...
@@ -29,7 +29,7 @@ p_macro = re.compile(
...
@@ -29,7 +29,7 @@ p_macro = re.compile(
'^[
\
t
]*#[
\
t
]*define[
\
t
]+'
'^[
\
t
]*#[
\
t
]*define[
\
t
]+'
'([a-zA-Z0-9_]+)
\
(([_
a
-zA-Z][_a-zA-Z0-9]*)
\
)[
\
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_comment
=
re
.
compile
(
r'/\
*([^*]+|
\*+[^/])*(\
*+/)?
')
p_cpp_comment = re.compile('
//
.
*
')
p_cpp_comment = re.compile('
//
.
*
')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment