forked from jasder/antlr
Fix undefined value
This commit is contained in:
parent
e73f72be73
commit
d3cc9ecc73
|
@ -158,7 +158,7 @@ class SingletonPredictionContext(PredictionContext):
|
||||||
class EmptyPredictionContext(SingletonPredictionContext):
|
class EmptyPredictionContext(SingletonPredictionContext):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(None, self.EMPTY_RETURN_STATE)
|
super().__init__(None, PredictionContext.EMPTY_RETURN_STATE)
|
||||||
|
|
||||||
def isEmpty(self):
|
def isEmpty(self):
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue