X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=code%2Fparse.js;h=e911aa42e59bc3fd882249d3d677bd25787866fd;hp=8db784d5ba71e8c36e91863b1df669bd82f06240;hb=466e57fc9e1c65c5b8c092ca8be03a4c69031f16;hpb=3e0b51e85f40d00ead16639860d7723b5f40e511 diff --git a/code/parse.js b/code/parse.js index 8db784d5..e911aa42 100644 --- a/code/parse.js +++ b/code/parse.js @@ -233,11 +233,9 @@ var make_parse = function () { return t; } else { t.first = []; - while (token.arity === "name" || token.id === "\\" || token.id === "lambda") { - if (not (token.id === "\\" || token.id === "lambda") { - t.first.push(n); - n = token; - } + while (token.arity === "name" || token.id === "\\") { + if (token.id !== "\\") {t.first.push(n);} + n = token; advance(); } if (token.arity === "literal" && t.first.length === 0) {