I get the following error: Inconsistent skip sets after Action HEADER “(” Keyword
I can mitigate this error by removing the ? and * on the terms that are optional after Keyword, but I thought I would be able to have optional terms inside the skipping area since I have a definitive opening and closing parenthesis.
Ah, right, it’s DictValue that’s causing the problem. After a “(” and a keyword, the colon part is optional, so either DictValue is already done, or it still matches more. In your grammar, if it is done, the Space skip rule would be in effect after the keyword, but if more content follows, the global skip rule is in effect in DictValue. So that’s inconsistent, and the tool doesn’t allow it.