author | Alan Dipert
<alan@dipert.org> 2019-10-26 15:58:44 UTC |
committer | Alan Dipert
<alan@dipert.org> 2019-10-26 15:58:44 UTC |
parent | 878de8b265312e483578ea35a5d84b20fb09f0d3 |
jacl.js | +8 | -9 |
diff --git a/jacl.js b/jacl.js index 3760f89..28d5e9f 100644 --- a/jacl.js +++ b/jacl.js @@ -848,15 +848,14 @@ const analyzeBlock = (env, parent, forms) => { }; const parseLambdaList = list => { - const kwNames = new Set(['&KEY', '&OPTIONAL', '&REST']), - arr = Cons.toArray(list); - let sections = { - required: [], - optional: [], - keyword: [], - rest: null - }, - section = 'required'; + let arr = Cons.toArray(list), + section = 'required', + sections = { + required: [], + optional: [], + keyword: [], + rest: null + }; scan: for (let i = 0; i < arr.length; i++) { const x = list[i]; if (x instanceof LispSymbol) {