forked from jasder/antlr
Only compare the addresses, as in Java
This commit is contained in:
parent
a1d61541b7
commit
dc35da2a75
|
@ -483,7 +483,7 @@ ATN ATNDeserializer::deserialize(const std::vector<uint16_t>& input) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (transition->target == endState || *(transition->target) == *endState) {
|
if (transition->target == endState) {
|
||||||
transition->target = bypassStop;
|
transition->target = bypassStop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue