big milestone. examples/code.coffee now compiles correctly under the new whitespace regime

This commit is contained in:
Jeremy Ashkenas
2009-12-30 18:59:33 -05:00
parent e6cd32f2fc
commit cd68f02981
3 changed files with 7 additions and 2 deletions

View File

@@ -684,6 +684,11 @@ module CoffeeScript
@else_body ? @else_body << eb : @else_body = eb
self
end
def force_statement
@tags[:statement] = true
self
end
# Rewrite a chain of IfNodes with their switch condition for equality.
def rewrite_condition(expression)