From e826103014c2065c67b4b85110957da45874ad36 Mon Sep 17 00:00:00 2001
From: Kristof Szabados <Kristof.Szabados@ericsson.com>
Date: Fri, 11 Dec 2020 17:08:29 +0100
Subject: [PATCH] minor indentation fix.

Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com>
---
 compiler2/record.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler2/record.c b/compiler2/record.c
index 4ea1a3faf..9550b1b21 100644
--- a/compiler2/record.c
+++ b/compiler2/record.c
@@ -4786,14 +4786,14 @@ void defRecordClass1(const struct_def *sdef, output_struct *output)
       "  }\n"
       "  if(p_td.text->end_decode){\n"
       "    int tl;\n"
-          "      if((tl=p_td.text->end_decode->match_begin(p_buf))<0){\n"
-      "          if(no_err)return -1;\n"
-      "          TTCN_EncDec_ErrorContext::error"
+      "    if((tl=p_td.text->end_decode->match_begin(p_buf))<0){\n"
+      "      if(no_err)return -1;\n"
+      "      TTCN_EncDec_ErrorContext::error"
       "(TTCN_EncDec::ET_TOKEN_ERR, \"The specified token '%s'"
       " not found for '%s': \",(const char*)*(p_td.text->end_decode)"
       ",p_td.name);\n"
-      "          return decoded_length;\n"
-      "        }\n"
+      "      return decoded_length;\n"
+      "    }\n"
       "    decoded_length+=tl;\n"
       "    p_buf.increase_pos(tl);\n"
       "  }\n"
-- 
GitLab