Cleanup
This commit is contained in:
@@ -46,7 +46,6 @@ import java.util.ArrayList;
|
||||
/** Return a terminal symbol of syntactic category TYPE and semantic
|
||||
* value VALUE at the current source location. */
|
||||
private Symbol symbol(int type, Object value) {
|
||||
//System.out.println(yytext() + ChocoPyTokens.terminalNames[type]);
|
||||
return symbolFactory.newSymbol(ChocoPyTokens.terminalNames[type], type,
|
||||
new ComplexSymbolFactory.Location(yyline + 1, yycolumn + 1),
|
||||
new ComplexSymbolFactory.Location(yyline + 1,yycolumn + yylength()),
|
||||
@@ -136,7 +135,6 @@ if True:
|
||||
AFTER state.
|
||||
*/
|
||||
pop();
|
||||
//System.out.println("dedent");
|
||||
return symbol(ChocoPyTokens.DEDENT, currIndent);
|
||||
}
|
||||
/*Otherwise, we will start dealing with the rest
|
||||
@@ -149,7 +147,6 @@ if True:
|
||||
current level should have, start a new level which will have
|
||||
`currIndent' indents.
|
||||
*/
|
||||
//System.out.println("indent");
|
||||
|
||||
push(currIndent);
|
||||
return symbol(ChocoPyTokens.INDENT, currIndent);
|
||||
|
||||
Reference in New Issue
Block a user