summaryrefslogtreecommitdiff
path: root/macros/CCodeGeneration/GetClsFileName.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/CCodeGeneration/GetClsFileName.sci')
-rw-r--r--macros/CCodeGeneration/GetClsFileName.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/CCodeGeneration/GetClsFileName.sci b/macros/CCodeGeneration/GetClsFileName.sci
index ec9ce5b9..46f08201 100644
--- a/macros/CCodeGeneration/GetClsFileName.sci
+++ b/macros/CCodeGeneration/GetClsFileName.sci
@@ -84,7 +84,7 @@ if (FlagFoundAnnFile == 0)
PrintStringInfo('SCI2CERROR: an associated .sci or .ann file for function: '+FunName,ReportFileName,'both','y');
PrintStringInfo(' ',ReportFileName,'both','y');
// #RNU_RES_E
- SCI2Cerror(' ');
+ error(9999, 'SCI2CERROR: Missing function annotation. Could not find an associated .sci or .ann file for function: '+FunName);
end
AnnFileName = fullfile(FileInfo.USER2CLibSCIAnnFun,tmpannfilename);
SCI2CClassName = FunName;