From 94bb7768784c99cbc5a0d20c2e85c59770743263 Mon Sep 17 00:00:00 2001
From: BenceJanosSzabo <bence.janos.szabo@ericsson.com>
Date: Mon, 6 Feb 2017 14:05:41 +0100
Subject: [PATCH] Modified incorrect index error message

Change-Id: I40bdf6037734bfffe76e826547307517cf2e3fd6
Signed-off-by: BenceJanosSzabo <bence.janos.szabo@ericsson.com>
---
 compiler2/Value.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler2/Value.cc b/compiler2/Value.cc
index 9b0e6c615..ead10d58b 100644
--- a/compiler2/Value.cc
+++ b/compiler2/Value.cc
@@ -9110,7 +9110,7 @@ error:
         index = v_index->get_val_Int()->get_val();
         index_available = true;
       } else if (!silent) {
-        array_index->error("An integer value was expected as index");
+        array_index->error("An integer value or a fixed length array or record of integer value was expected as index");
       }
     }
     if (valuetype == V_OMIT) {
-- 
GitLab