File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tool/resources/org/antlr/v4/tool/templates/codegen/Go Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -906,8 +906,8 @@ ThisRulePropertyRef_text(r) ::= "p.GetTokenStream().GetTextFromTokens(localctx.G
906
906
ThisRulePropertyRef_ctx(r) ::= "<ctx(r)>"
907
907
ThisRulePropertyRef_parser(r) ::= "p"
908
908
909
- NonLocalAttrRef(s) ::= "GetInvokingContext(<s.ruleIndex>).<s.escapedName>"
910
- SetNonLocalAttr(s, rhsChunks) ::= "GetInvokingContext(<s.ruleIndex>).<s.escapedName> = <rhsChunks>"
909
+ NonLocalAttrRef(s) ::= "p. GetInvokingContext(<s.ruleIndex>).(*<s.ruleName; format={cap}>Context ).<s.escapedName>"
910
+ SetNonLocalAttr(s, rhsChunks) ::= "p. GetInvokingContext(<s.ruleIndex>).(*<s.ruleName; format={cap}>Context ).<s.escapedName> = <rhsChunks>"
911
911
912
912
AddToLabelList(a) ::= "<ctx(a.label)>.<a.listName> = append(<ctx(a.label)>.<a.listName>, <labelref(a.label)>)"
913
913
You can’t perform that action at this time.
0 commit comments