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