Fixed failure on test bad_indentation.py

master
bill 3 years ago
parent b2536564bc
commit ca13d4c461

@ -149,7 +149,10 @@ if True:
*/ */
push(currIndent); 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);
} }
} }
} }

Loading…
Cancel
Save