diff options
Diffstat (limited to 'Cython/Compiler/Nodes.py')
-rw-r--r-- | Cython/Compiler/Nodes.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 66b4f97cf..006d1023c 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -10154,6 +10154,17 @@ class CnameDecoratorNode(StatNode): self.node.generate_execution_code(code) +class ErrorNode(Node): + """ + Node type for things that we want to get through the parser + (especially for things that are being scanned in "tentative_scan" + blocks), but should immediately raise and error afterwards. + + what str + """ + child_attrs = [] + + #------------------------------------------------------------------------------------ # # Runtime support code |