From 62c51006a132cadbc0788aad664674dbfcdc9f84 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Wed, 30 Dec 2009 17:45:47 -0500 Subject: [PATCH] removed the final shift/reduce errors -- back to zero for the first time in a long time --- lib/coffee_script/grammar.y | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/coffee_script/grammar.y b/lib/coffee_script/grammar.y index fdbf88c5..c30bed97 100644 --- a/lib/coffee_script/grammar.y +++ b/lib/coffee_script/grammar.y @@ -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.