fixed root
This commit is contained in:
parent
f39eef38a1
commit
3f316cda63
@ -45,7 +45,6 @@ module Vm
|
||||
((name.as(:param) >> (comma >> name.as(:param)).repeat(0)).maybe).as(:params) >>
|
||||
rparen
|
||||
}
|
||||
root :args
|
||||
# rule(:root) { func.repeat(0) >> expression }
|
||||
rule(:root){ func.repeat(0) >> expression | expression | args }
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user