lib/faml/parser.rb in faml-0.2.7 vs lib/faml/parser.rb in faml-0.2.8

- old
+ new

@@ -144,12 +144,9 @@ @ast << create_node(Ast::HamlComment) return end node = create_node(Ast::SilentScript) node.script = text[/\A- *(.*)\z/, 1] - if node.script.empty? - syntax_error!("No Ruby code to evaluate") - end node.script += RubyMultiline.read(@line_parser, node.script) @ast << node end def parse_filter(text)