lib/code/parser/statement.rb in template-ruby-0.1.0 vs lib/code/parser/statement.rb in template-ruby-0.2.0
- old
+ new
@@ -1,11 +1,8 @@
class Code
class Parser
class Statement < Parslet::Parser
- rule(:call) { ::Code::Parser::Call.new }
-
- rule(:statement) { call }
-
+ rule(:statement) { ::Code::Parser::While.new }
root(:statement)
end
end
end