Skip to content

Commit b440d31

Browse files
authored
Fixed antlr4 build warnings (#8912)
1 parent 311d1ed commit b440d31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/library/yql/parser/proto_ast/org/antlr/v4/tool/templates/codegen/Cpp/Cpp.stg.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ RuleReturnType <currentRule.escapedName>(<args; separator=",">);
492492

493493
>>
494494

495-
RuleFunction(currentRule, args, code, locals, ruleCtx, altLabelCtxs, namedActions, finallyAction, postamble, exceptions) ::= <<
495+
RuleFunction(currentRule, args, code, locals, ruleCtx, altLabelCtxs, namedActions, finallyAction, postamble, exceptions, elemId) ::= <<
496496
<ruleCtx>
497497
<! TODO: untested !><altLabelCtxs: {l | <altLabelCtxs.(l)>}; separator = "\n">
498498
<parser.name>::RuleReturnType <parser.name>::<currentRule.escapedName>(<args; separator=",">) {

ydb/library/yql/parser/proto_ast/org/antlr/v4/tool/templates/codegen/Java/Java.stg.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RuleActionFunction(r, actions) ::= <<
107107
RuleSempredFunction(r, actions) ::= <<
108108
>>
109109

110-
RuleFunction(currentRule,args,code,locals,ruleCtx,altLabelCtxs,namedActions,finallyAction,postamble,exceptions) ::= <<
110+
RuleFunction(currentRule,args,code,locals,ruleCtx,altLabelCtxs,namedActions,finallyAction,postamble,exceptions,elemId) ::= <<
111111
// rule $ANTLR start "<currentRule.name>"
112112
message TRule_<currentRule.name> {
113113
<if((!rest(code))&&first(code).alts&&rest(first(code).alts))>

0 commit comments

Comments
 (0)