Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2010-05-12 09:58:13 -0400
committerVivian Kong2010-05-12 09:58:13 -0400
commit45208e8f11b6cc0fed546721f854f26e3ed93e08 (patch)
tree38754881f1e2cd958974c2cb3461780b084c1522
parent8e0d94cdc63912ca21bfe26b84c858cd2fbcb68f (diff)
downloadorg.eclipse.cdt-45208e8f11b6cc0fed546721f854f26e3ed93e08.tar.gz
org.eclipse.cdt-45208e8f11b6cc0fed546721f854f26e3ed93e08.tar.xz
org.eclipse.cdt-45208e8f11b6cc0fed546721f854f26e3ed93e08.zip
Bug 310724 - [LR Parser] Some c/c++ syntax cause content assist hanging, such as try-catch and do-while.v201005121012
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java
index cf771e17eb7..c2a8dc98990 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java
+++ b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java
@@ -135,7 +135,7 @@ public class FixedBacktrackingParser extends Stacks
//
public Object parse(int max_error_count) throws BadParseException
{
- max_error_count = 1000;
+ //max_error_count = 1000;
action.reset();
tokStream.reset(); // Position at first token.
reallocateStateStack();

Back to the top