Fixed failure on test bad_indentation.py
This commit is contained in:
@@ -149,7 +149,10 @@ if True:
|
||||
*/
|
||||
|
||||
push(currIndent);
|
||||
return symbol(ChocoPyTokens.INDENT, currIndent);
|
||||
return symbolFactory.newSymbol(ChocoPyTokens.terminalNames[ChocoPyTokens.INDENT], ChocoPyTokens.INDENT,
|
||||
new ComplexSymbolFactory.Location(yyline + 1, yycolumn - 1),
|
||||
new ComplexSymbolFactory.Location(yyline + 1,yycolumn + yylength()),
|
||||
currIndent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user