diff options
Diffstat (limited to 'src/ast/Python3VisitorImpl.java')
-rw-r--r-- | src/ast/Python3VisitorImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/Python3VisitorImpl.java b/src/ast/Python3VisitorImpl.java index 7e8881f..66f282e 100644 --- a/src/ast/Python3VisitorImpl.java +++ b/src/ast/Python3VisitorImpl.java @@ -528,6 +528,10 @@ public class Python3VisitorImpl extends Python3ParserBaseVisitor<Node> { if (!al.isEmpty()) { boolean constant = true; for (String a : al) { + if (R.get(a) == null) { + constant = false; + break; + } int n = R.get(a); if (n > lineStart && n <= lineStop) { constant = false; |