X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=code%2Fparse.js;h=e3940b49c3acb8e2df26a7df0ae12e926390d802;hp=9034e46083f022241d54fa8db864081e74059a8a;hb=0301fcca8fe62d2f2355f4781c6106b5d246df60;hpb=8b4a4326c5380dc6169feaa316278c042e25d1a4;ds=sidebyside diff --git a/code/parse.js b/code/parse.js index 9034e460..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) {