Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2010-08-09 13:59:41 -0400
committerVivian Kong2010-08-09 13:59:41 -0400
commit95e00954fbe0a682983b4628485a42dcb750aed9 (patch)
treedd2660cef791d3a7dce0df94412000811aea51f6 /lrparser/org.eclipse.cdt.core.lrparser
parent67dfed0280e7d1ab094073ae39bf1de78259f672 (diff)
downloadorg.eclipse.cdt-95e00954fbe0a682983b4628485a42dcb750aed9.tar.gz
org.eclipse.cdt-95e00954fbe0a682983b4628485a42dcb750aed9.tar.xz
org.eclipse.cdt-95e00954fbe0a682983b4628485a42dcb750aed9.zip
Bug 315826 Update LR Parser for the template arguments rules - patch by John Liu
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/lpgextensions/FixedBacktrackingParser.java5
1 files changed, 0 insertions, 5 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 9ffd366942..e002668fdb 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
@@ -305,14 +305,11 @@ public class FixedBacktrackingParser extends Stacks
current_kind = tokStream.getKind(curtok),
act = tAction(stateStack[stateStackTop], current_kind);
- int count = 0;
-
//
// The main driver loop
//
for (;;)
{
- count++;
//
// if the parser needs to stop processing,
// it may do so here.
@@ -393,8 +390,6 @@ public class FixedBacktrackingParser extends Stacks
//System.out.println("****Number of actions: " + action.size());
//System.out.println("****Max Stack Size = " + maxStackTop);
//System.out.flush();
- System.out.println("The backtrace parser count is: " + count );
-
return (act == ERROR_ACTION ? error_token : 0);
}

Back to the top