From 1301e0a22798ce2c7867bd7f847af92bd8b956dd Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sun, 19 Nov 2017 10:58:13 -0500 Subject: [PATCH] Rename variable for clarity --- src/token/Token.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/token/Token.java b/src/token/Token.java index 0f7c833..2eb9aa0 100644 --- a/src/token/Token.java +++ b/src/token/Token.java @@ -40,9 +40,9 @@ public abstract class Token { public abstract SExpression parseSExpression(Supplier getNextToken); public SExpression parseSExpressionTail(Supplier 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 parseListBackwards(Cons accumulator, Supplier getNextToken) {