From d3cc9ecc73a773dbc70d27f551961b047cceb501 Mon Sep 17 00:00:00 2001 From: Eric Vergnaud Date: Fri, 2 Oct 2020 17:31:00 +0800 Subject: [PATCH] Fix undefined value --- runtime/Python3/src/antlr4/PredictionContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Python3/src/antlr4/PredictionContext.py b/runtime/Python3/src/antlr4/PredictionContext.py index e3736ad2e..7cbb7e49e 100644 --- a/runtime/Python3/src/antlr4/PredictionContext.py +++ b/runtime/Python3/src/antlr4/PredictionContext.py @@ -158,7 +158,7 @@ class SingletonPredictionContext(PredictionContext): class EmptyPredictionContext(SingletonPredictionContext): def __init__(self): - super().__init__(None, self.EMPTY_RETURN_STATE) + super().__init__(None, PredictionContext.EMPTY_RETURN_STATE) def isEmpty(self): return True