lib/sass/script/parser.rb in sass-3.1.0.alpha.261 vs lib/sass/script/parser.rb in sass-3.1.0.alpha.262

- old
+ new

@@ -391,12 +391,13 @@ def paren return variable unless try_tok(:lparen) was_in_parens = @in_parens @in_parens = true - e = assert_expr(:expr) + line = @lexer.line + e = expr assert_tok(:rparen) - return e + return e || node(List.new([], :space), line) ensure @in_parens = was_in_parens end def variable