From: Chris Barker Date: Sun, 26 Sep 2010 14:07:13 +0000 (-0400) Subject: edits X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=3e0b51e85f40d00ead16639860d7723b5f40e511 edits --- diff --git a/code/parse.js b/code/parse.js index 4d2bc8d6..8db784d5 100644 --- a/code/parse.js +++ b/code/parse.js @@ -233,9 +233,11 @@ var make_parse = function () { return t; } else { t.first = []; - while (token.arity === "name") { - t.first.push(n); - n = token; + while (token.arity === "name" || token.id === "\\" || token.id === "lambda") { + if (not (token.id === "\\" || token.id === "lambda") { + t.first.push(n); + n = token; + } advance(); } if (token.arity === "literal" && t.first.length === 0) {