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