Rename variable for clarity

This commit is contained in:
Mike Cifelli 2017-11-19 10:58:13 -05:00
parent 0f00e35518
commit 1301e0a227
1 changed files with 2 additions and 2 deletions

View File

@ -40,9 +40,9 @@ public abstract class Token {
public abstract SExpression parseSExpression(Supplier<Token> getNextToken);
public SExpression parseSExpressionTail(Supplier<Token> getNextToken) {
Cons list = parseListBackwards(NIL, getNextToken).invoke();
Cons backwardsList = parseListBackwards(NIL, getNextToken).invoke();
return reverse(NIL, list).invoke();
return reverse(NIL, backwardsList).invoke();
}
public TailCall<Cons> parseListBackwards(Cons accumulator, Supplier<Token> getNextToken) {