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) >>
|
((name.as(:param) >> (comma >> name.as(:param)).repeat(0)).maybe).as(:params) >>
|
||||||
rparen
|
rparen
|
||||||
}
|
}
|
||||||
root :args
|
rule(:root){ func.repeat(0) >> expression | expression | args }
|
||||||
# rule(:root) { func.repeat(0) >> expression }
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user