Closed ArachnidAbby closed 2 years ago
It looks like you are using func
as the starting point since it is the first defined production.
That production only allows for a single println()
statement.
You need to create a new start production that accepts multiple statements. Something like this should work (untested):
@_("func { func }")
def start(self, p):
return [p.func0, *p.func1]
text_input
code
context
This code does work when using a single
println()
statement but not when using multiple. it ends up returning a nonetype