add module to root parse and tests

This commit is contained in:
Torsten Ruger
2014-05-30 10:31:25 +03:00
parent c69a44f316
commit caec5ee6f0
2 changed files with 28 additions and 1 deletions

View File

@ -31,6 +31,6 @@ module Parser
include Operators
include ModuleDef
rule(:root){ (function_definition | expression | call_site ).repeat }
rule(:root){ (module_def | function_definition | expression | call_site ).repeat }
end
end