projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5345587
)
edits
author
Chris Barker
<barker@kappa.(none)>
Sun, 26 Sep 2010 14:07:13 +0000
(10:07 -0400)
committer
Chris Barker
<barker@kappa.(none)>
Sun, 26 Sep 2010 14:07:13 +0000
(10:07 -0400)
code/parse.js
patch
|
blob
|
history
diff --git
a/code/parse.js
b/code/parse.js
index
4d2bc8d
..
8db784d
100644
(file)
--- 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) {