X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=code%2Fparse.js;h=8856b164aa86b96acf69000016995b3f039779fe;hp=4d2bc8d6b027d3b40b96d12737b8c33b5fa11b3f;hb=934f19eef90e5474be0af07e7400867538068bc9;hpb=492cb946fbc21f0d3db9de9bd57bd755bf4ca620 diff --git a/code/parse.js b/code/parse.js index 4d2bc8d6..8856b164 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 === "\\") { + t.first.push(n); + n = token; advance(); } if (token.arity === "literal" && t.first.length === 0) {