diff options
| author | AlexSm <[email protected]> | 2024-01-11 14:49:03 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-11 14:49:03 +0100 |
| commit | 2e180154bd6a38b90a128ba0463d0dd2706a5ccf (patch) | |
| tree | 0e0890fa08e63af33c52c9b6eacee56d037a740b /contrib/libs/antlr3_cpp_runtime | |
| parent | 4366d88bef9360d9754e77eaa1f4a25d046a9cbd (diff) | |
Library import 7 (#937)
Diffstat (limited to 'contrib/libs/antlr3_cpp_runtime')
| -rw-r--r-- | contrib/libs/antlr3_cpp_runtime/include/antlr3treeparser.inl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/libs/antlr3_cpp_runtime/include/antlr3treeparser.inl b/contrib/libs/antlr3_cpp_runtime/include/antlr3treeparser.inl index 5f5991f4eb5..8ad71d64744 100644 --- a/contrib/libs/antlr3_cpp_runtime/include/antlr3treeparser.inl +++ b/contrib/libs/antlr3_cpp_runtime/include/antlr3treeparser.inl @@ -161,7 +161,6 @@ TreeParser<ImplTraits>::getMissingSymbol( IntStreamType* istream, ExceptionBaseT TreeTypePtr current; CommonTokenType* token; StringType text; - ANTLR_INT32 i; // Dereference the standard pointers // @@ -170,12 +169,10 @@ TreeParser<ImplTraits>::getMissingSymbol( IntStreamType* istream, ExceptionBaseT // Create a new empty node, by stealing the current one, or the previous one if the current one is EOF // current = tns->LT(1); - i = -1; if (current == tns->get_EOF_NODE_p()) { current = tns->LT(-1); - i--; } node = current->dupNode(); |
