Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
50012a63
Commit
50012a63
authored
Nov 30, 2013
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix annotation of modules that do not generate any C code for user sources
parent
7c762d67
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/Annotate.py
Cython/Compiler/Annotate.py
+1
-1
tests/errors/empty.pyx
tests/errors/empty.pyx
+1
-0
No files found.
Cython/Compiler/Annotate.py
View file @
50012a63
...
...
@@ -140,7 +140,7 @@ function toggleDiv(id) {
error_goto = re.compile(ur'
((;
*
if
.
*
)
?
\
{
__pyx_filename
=
.
*
goto
__pyx_L
\
w
+
;
\
})
')
refnanny = re.compile(u'
(
__Pyx_X
?
(
GOT
|
GIVE
)
REF
|
__Pyx_RefNanny
[
A
-
Za
-
z
]
+
)
')
code_source_file = self.code
[source_filename]
code_source_file = self.code
.get(source_filename, {})
for line in lines:
k += 1
...
...
tests/errors/empty.pyx
View file @
50012a63
# cython: autotestdict=False
# mode: error
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