Skip to content
Snippets Groups Projects

Pragmas and OpenMP Support

Merged Frederik Hennig requested to merge fhennig/pragmas into backend-rework
Files
17
@@ -5,7 +5,7 @@ from .structural import (
@@ -5,7 +5,7 @@ from .structural import (
PsAssignment,
PsAssignment,
PsAstNode,
PsAstNode,
PsBlock,
PsBlock,
PsComment,
PsEmptyLeafMixIn,
PsConditional,
PsConditional,
PsDeclaration,
PsDeclaration,
PsExpression,
PsExpression,
@@ -63,7 +63,7 @@ class UndefinedSymbolsCollector:
@@ -63,7 +63,7 @@ class UndefinedSymbolsCollector:
undefined_vars |= self(branch_false)
undefined_vars |= self(branch_false)
return undefined_vars
return undefined_vars
case PsComment():
case PsEmptyLeafMixIn():
return set()
return set()
case unknown:
case unknown:
@@ -92,11 +92,11 @@ class UndefinedSymbolsCollector:
@@ -92,11 +92,11 @@ class UndefinedSymbolsCollector:
case (
case (
PsAssignment()
PsAssignment()
| PsBlock()
| PsBlock()
| PsComment()
| PsConditional()
| PsConditional()
| PsExpression()
| PsExpression()
| PsLoop()
| PsLoop()
| PsStatement()
| PsStatement()
 
| PsEmptyLeafMixIn()
):
):
return set()
return set()
Loading