From 9e2d0eacbdb6d5ce1989cfdfef5488e26fd8c279 Mon Sep 17 00:00:00 2001 From: ALEXks Date: Wed, 22 Apr 2026 11:20:15 +0300 Subject: [PATCH] added MERGED_ARRAYS operation --- src/DirectiveProcessing/spf_directive_preproc.cpp | 11 +++++++++++ src/Utils/version.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/DirectiveProcessing/spf_directive_preproc.cpp b/src/DirectiveProcessing/spf_directive_preproc.cpp index 6039de6..48bb8ad 100644 --- a/src/DirectiveProcessing/spf_directive_preproc.cpp +++ b/src/DirectiveProcessing/spf_directive_preproc.cpp @@ -1933,6 +1933,17 @@ static inline bool processStat(SgStatement *st, const string &currFile, retVal = false; } } + + //MERGE_ARRAYS + if (isSPF_OP(attributeStatement, SPF_MERGE_ARRAYS_OP)) + { + attributeStatement->setLocalLineNumber(-1); + /*if (st->variant() != FOR_NODE) + { + BAD_POSITION_FULL(ERROR, "", "", "before", RR1_1, "DO statement", RR1_3, attributeStatement->lineNumber()); + retVal = false; + }*/ + } } else if (type == SPF_CHECKPOINT_DIR) { diff --git a/src/Utils/version.h b/src/Utils/version.h index ff69028..0646b65 100644 --- a/src/Utils/version.h +++ b/src/Utils/version.h @@ -1,3 +1,3 @@ #pragma once -#define VERSION_SPF "2481" +#define VERSION_SPF "2482"