diff --git a/lib/parser/crystal.rb b/lib/parser/crystal.rb index bb824202..d9712d15 100644 --- a/lib/parser/crystal.rb +++ b/lib/parser/crystal.rb @@ -29,6 +29,6 @@ module Parser include FunctionDefinition include Operators - rule(:root){ (function_definition | expression | operator_expression | call_site).repeat } + rule(:root){ (function_definition | expression | operator_expression | call_site | space).repeat } end end