Skip to content

Commit

Permalink
Adds support for named function expressions.
Browse files Browse the repository at this point in the history
- Takes advantage of the rule that an expression statement cannot begin
  with the 'function' keywords.
- Unfortunately took another couple hundred lines of Bison cascades. But
  no additional conflicts...
  • Loading branch information
ndreynolds committed Nov 23, 2012
1 parent cb2ca4a commit 91741ac
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 29 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ The Makefile has a few shortcuts:
The Docket
----------
- Try statements (`try`, `catch`, `finally`)
- Named function expressions (e.g. `var f = function named(x) {};`)
- Labels (e.g. `loop1: ...; continue loop1;`)
- Automatic Semicolon Insertion
- Unicode (might work, but currently unsupported)
Expand Down
Loading

0 comments on commit 91741ac

Please sign in to comment.