mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
removed the final shift/reduce errors -- back to zero for the first time in a long time
This commit is contained in:
parent
d528db76e6
commit
62c51006a1
1 changed files with 0 additions and 5 deletions
|
@ -38,10 +38,6 @@ prechigh
|
|||
right RETURN '=>'
|
||||
preclow
|
||||
|
||||
# We expect 2 shift/reduce errors for optional syntax.
|
||||
# There used to be 252 -- greatly improved.
|
||||
expect 2
|
||||
|
||||
rule
|
||||
|
||||
# All parsing will end in this rule, being the trunk of the AST.
|
||||
|
@ -56,7 +52,6 @@ rule
|
|||
Expression { result = Expressions.new(val) }
|
||||
| Expressions Terminator Expression { result = val[0] << val[2] }
|
||||
| Expressions Terminator { result = val[0] }
|
||||
| Terminator Expressions { result = val[1] }
|
||||
;
|
||||
|
||||
# All types of expressions in our language.
|
||||
|
|
Loading…
Add table
Reference in a new issue