File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6426,8 +6426,6 @@ void LocalDeclarationsNode::genBlr(DsqlCompilerScratch* dsqlScratch)
64266426 {
64276427 auto parameter = *ptr;
64286428
6429- dsqlScratch->putDebugSrcInfo (parameter->line , parameter->column );
6430-
64316429 if (const auto varNode = nodeAs<DeclareVariableNode>(parameter))
64326430 {
64336431 dsql_fld* field = varNode->dsqlDef ->type ;
@@ -6473,7 +6471,10 @@ void LocalDeclarationsNode::genBlr(DsqlCompilerScratch* dsqlScratch)
64736471 for (const auto parameter : statements)
64746472 {
64756473 if (const auto varNode = nodeAs<DeclareVariableNode>(parameter))
6474+ {
6475+ dsqlScratch->putDebugSrcInfo (parameter->line , parameter->column );
64766476 dsqlScratch->putLocalVariableInit (*declVarIt++, varNode);
6477+ }
64776478 }
64786479
64796480 if (!isSubRoutine)
You can’t perform that action at this time.
0 commit comments