Browse Source

Fixed antlr4 build warnings (#8912)

Orlov Pavel 6 months ago
parent
commit
b440d3116e

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

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

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

@@ -107,7 +107,7 @@ RuleActionFunction(r, actions) ::= <<
 RuleSempredFunction(r, actions) ::= <<
 >>
 
-RuleFunction(currentRule,args,code,locals,ruleCtx,altLabelCtxs,namedActions,finallyAction,postamble,exceptions) ::= <<
+RuleFunction(currentRule,args,code,locals,ruleCtx,altLabelCtxs,namedActions,finallyAction,postamble,exceptions,elemId) ::= <<
 // rule $ANTLR start "<currentRule.name>"
 message TRule_<currentRule.name> {
     <if((!rest(code))&&first(code).alts&&rest(first(code).alts))>