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
Gwenaël Samain
cython
Commits
16683040
Commit
16683040
authored
Aug 17, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix (obsolete) forward declared C++ subclass declarations.
parent
7f408bff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+1
-1
Cython/Compiler/Symtab.py
Cython/Compiler/Symtab.py
+2
-0
No files found.
Cython/Compiler/Nodes.py
View file @
16683040
...
@@ -1186,7 +1186,7 @@ class CppClassNode(CStructOrUnionDefNode):
...
@@ -1186,7 +1186,7 @@ class CppClassNode(CStructOrUnionDefNode):
scope
=
None
scope
=
None
if
self
.
attributes
is
not
None
:
if
self
.
attributes
is
not
None
:
scope
=
CppClassScope
(
self
.
name
,
env
,
templates
=
self
.
templates
)
scope
=
CppClassScope
(
self
.
name
,
env
,
templates
=
self
.
templates
)
base_class_types
=
[
b
.
analyse
(
scope
)
for
b
in
self
.
base_classes
]
base_class_types
=
[
b
.
analyse
(
scope
or
env
)
for
b
in
self
.
base_classes
]
if
self
.
templates
is
None
:
if
self
.
templates
is
None
:
template_types
=
None
template_types
=
None
else
:
else
:
...
...
Cython/Compiler/Symtab.py
View file @
16683040
...
@@ -2028,6 +2028,8 @@ class CppClassScope(Scope):
...
@@ -2028,6 +2028,8 @@ class CppClassScope(Scope):
self
.
default_constructor
=
True
self
.
default_constructor
=
True
return
return
for
base_class
in
entry
.
type
.
base_classes
:
for
base_class
in
entry
.
type
.
base_classes
:
if
base_class
is
PyrexTypes
.
error_type
:
continue
temp_entry
=
base_class
.
scope
.
lookup_here
(
"<init>"
)
temp_entry
=
base_class
.
scope
.
lookup_here
(
"<init>"
)
found
=
False
found
=
False
if
temp_entry
is
None
:
if
temp_entry
is
None
:
...
...
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