summaryrefslogtreecommitdiff
path: root/macros/ErrorMessages
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ErrorMessages')
-rw-r--r--macros/ErrorMessages/EM_NanSize.sci2
-rw-r--r--macros/ErrorMessages/EM_UnknownStep.sci2
-rw-r--r--macros/ErrorMessages/EM_ZeroSize.sci2
3 files changed, 3 insertions, 3 deletions
diff --git a/macros/ErrorMessages/EM_NanSize.sci b/macros/ErrorMessages/EM_NanSize.sci
index 2595a32b..60877389 100644
--- a/macros/ErrorMessages/EM_NanSize.sci
+++ b/macros/ErrorMessages/EM_NanSize.sci
@@ -78,5 +78,5 @@ PrintStringInfo('SCI2CERROR: disp(cnt);',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: }',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: Of course it is not optimized C code.',ReportFileName,'both','y');
PrintStringInfo(' ',ReportFileName,'both','y');
-SCI2Cerror(' ');
+SCI2Cerror(9999, 'SCI2CERROR: Cannot initialize a local or global variable with a variable value coming from a function or an operation.');
endfunction
diff --git a/macros/ErrorMessages/EM_UnknownStep.sci b/macros/ErrorMessages/EM_UnknownStep.sci
index 9f8d39e7..e9e37c2d 100644
--- a/macros/ErrorMessages/EM_UnknownStep.sci
+++ b/macros/ErrorMessages/EM_UnknownStep.sci
@@ -66,5 +66,5 @@ PrintStringInfo('SCI2CERROR: disp(cnt);',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: }',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: Of course it is not optimized C code.',ReportFileName,'both','y');
PrintStringInfo(' ',ReportFileName,'both','y');
-SCI2Cerror(' ');
+error(9999, 'SCI2C forbids use of step values in ""for"" loops which come from a function or an operation.');
endfunction
diff --git a/macros/ErrorMessages/EM_ZeroSize.sci b/macros/ErrorMessages/EM_ZeroSize.sci
index fede8f0d..7cee5b9f 100644
--- a/macros/ErrorMessages/EM_ZeroSize.sci
+++ b/macros/ErrorMessages/EM_ZeroSize.sci
@@ -22,6 +22,6 @@ SCI2CNInArgCheck(argn(2),1,1);
PrintStringInfo('SCI2CERROR: Cannot handle zero-size arrays.',ReportFileName,'both','y');
PrintStringInfo(' ',ReportFileName,'both','y');
-SCI2Cerror(' ');
+error(9999, 'SCI2CERROR: Cannot handle zero-size arrays.');
endfunction