You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data="""\ A a b c B d b e f g C h"""group=pp.Forward()
group <<= pp.Group(pp.Char(pp.alphas) +pp.Group(pp.IndentedBlock(pp.Char(pp.alphas) |group)))
print(pp.OneOrMore(group).parseString(data))
The output is still not right. (modified the format a bit to make it clearer)
Hi, I'm trying to implement the nested if/elif/else with
IndentedBlock
.The output is (Modified the format a bit, to make it more clear.)
Seems like the inner if clause is wrongly parsed.
The text was updated successfully, but these errors were encountered: