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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
8f91ac8b
Commit
8f91ac8b
authored
Feb 25, 2012
by
Mark Florisson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/blackvladimir/cython
parents
7be09b01
847c2ffb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Cython/Compiler/Parsing.py
Cython/Compiler/Parsing.py
+2
-1
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+1
-1
No files found.
Cython/Compiler/Parsing.py
View file @
8f91ac8b
...
...
@@ -296,7 +296,8 @@ def p_typecast(s):
s
.
next
()
base_type
=
p_c_base_type
(
s
)
is_memslice
=
isinstance
(
base_type
,
Nodes
.
MemoryViewSliceTypeNode
)
if
not
is_memslice
and
base_type
.
name
is
None
:
is_template
=
isinstance
(
base_type
,
Nodes
.
TemplatedTypeNode
)
if
not
is_memslice
and
not
is_template
and
base_type
.
name
is
None
:
s
.
error
(
"Unknown type"
)
declarator
=
p_c_declarator
(
s
,
empty
=
1
)
if
s
.
sy
==
'?'
:
...
...
Cython/Compiler/PyrexTypes.py
View file @
8f91ac8b
...
...
@@ -2954,7 +2954,7 @@ class CppClassType(CType):
if
other_type
.
is_cpp_class
:
if
self
==
other_type
:
return
1
elif
self
.
template_type
and
self
.
template_type
==
other_type
.
template_type
:
elif
self
.
template_type
and
other_type
.
template_type
:
if
self
.
templates
==
other_type
.
templates
:
return
1
for
t1
,
t2
in
zip
(
self
.
templates
,
other_type
.
templates
):
...
...
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