我有这样的语法的例外, locationPath returns [CustomParser xpathParser]
:^(LOCATION_PATH relativeLocationPath {**Want to throw a exception if this condition matches**})
|^(LOCATION_PATH absoluteLocation
我有点困惑。我的语法运行良好,符合我的语言,就像我想要的一样。最近,我在语法上添加了一些规则,并且在将新语法规则转换为树语法的过程中,我收到了一些奇怪的错误。我得到的第一个错误是树语法不明确。 我收到的错误是: [10:53:16] warning(200): ShiroDefinitionPass.g:129:17:
Decision can match input such as "'sub