From 1efcf90a28e1ee24e5ef80fd55bab8b0fccd01df Mon Sep 17 00:00:00 2001 From: Yashas Date: Fri, 29 Sep 2017 16:21:13 +0530 Subject: [PATCH] new error msg for returning arrays of unknown size --- source/compiler/sc5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/compiler/sc5.c b/source/compiler/sc5.c index 34a1c77..8f81319 100644 --- a/source/compiler/sc5.c +++ b/source/compiler/sc5.c @@ -128,7 +128,8 @@ static char *errmsg[] = { /*088*/ "public variables and local variables may not have states (symbol \"%s\")\n", /*089*/ "state variables may not be initialized (symbol \"%s\")\n", /*090*/ "public functions may not return arrays (symbol \"%s\")\n", -/*091*/ "ambiguous constant; tag override is required (symbol \"%s\")\n" +/*091*/ "ambiguous constant; tag override is required (symbol \"%s\")\n", +/*092*/ "functions may not return arrays of unknown size (symbol \"%s\")\n" }; static char *fatalmsg[] = {