1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 315826 Update LR Parser for the template arguments rules - patch by John Liu

This commit is contained in:
Vivian Kong 2010-08-09 17:59:41 +00:00
parent 67dfed0280
commit 95e00954fb

View file

@ -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);
}