and now with if/else statements, CoffeeScript-in-CoffeeScript is language-complete -- now for the shakedown cruise

This commit is contained in:
Jeremy Ashkenas
2010-02-10 21:40:10 -05:00
parent 13d3b3a3ce
commit 38e1991f82
5 changed files with 194 additions and 5 deletions

View File

@@ -462,7 +462,7 @@
statement: true
});
}), o("Comment TERMINATOR When", function() {
return $3.add_comment($1);
return $3.comment = $1;
})
],
// The most basic form of "if".