X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=code%2Fparse.js;h=e3940b49c3acb8e2df26a7df0ae12e926390d802;hp=8db784d5ba71e8c36e91863b1df669bd82f06240;hb=0301fcca8fe62d2f2355f4781c6106b5d246df60;hpb=3e0b51e85f40d00ead16639860d7723b5f40e511 diff --git a/code/parse.js b/code/parse.js index 8db784d5..e3940b49 100644 --- a/code/parse.js +++ b/code/parse.js @@ -233,11 +233,11 @@ 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") { + while (token.arity === "name" || token.id === "\\") { + if (token.id !== "\\") { t.first.push(n); n = token; - } + } advance(); } if (token.arity === "literal" && t.first.length === 0) {