add a repeat to the root parser rule (need to test the root more)

This commit is contained in:
Torsten Ruger
2014-05-10 11:18:39 +03:00
parent b266bb84ba
commit 8f2a22d12f
3 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,6 @@ module Parser
include Conditional
include Expression
rule(:root){ function_definition | expression | assignment | function_call }
rule(:root){ (function_definition | expression | assignment | function_call).repeat }
end
end