Gabriele Monaco <[email protected]> writes:
> Yeah, that'd do, keeping in mind the label after a \n can be different (HA
> invariants). The invariant parsing should then make sure nothing else appears
> after the \n .
Thanks for the info. The new grammar [1]:
class StateLabelParser:
grammar = r'''
label: CNAME ("\\n" condition)?
...
will handle that nicely.
Nam
[1]
https://github.com/covanam/linux/commit/361efb610ba7c06b3668a953a6847ea80453c2e3#diff-904e482d5fa6374ab7ae9356df1340da53da564b16c81f3d932c0ae521fe2d13R253-R254