summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleWhileStatem.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ASTManagement/AST_HandleWhileStatem.sci')
-rw-r--r--macros/ASTManagement/AST_HandleWhileStatem.sci12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/ASTManagement/AST_HandleWhileStatem.sci b/macros/ASTManagement/AST_HandleWhileStatem.sci
index 5c823ab3..45d434f0 100644
--- a/macros/ASTManagement/AST_HandleWhileStatem.sci
+++ b/macros/ASTManagement/AST_HandleWhileStatem.sci
@@ -20,19 +20,19 @@ function [FileInfo,SharedInfo] = AST_HandleWhileStatem(FileInfo,SharedInfo)
// Status:
// 20-Jan-2008 -- Edoardo Nutricato: Author.
// 20-Jan-2008 -- Rubby Nutricato: Minor Changes.
-//
+//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
// -----------------------------------------------------------------
//#RNU_RES_B
-//NUT: accertati che l'epilogo e il prologo del while siano effettivamente differenti o se
+//NUT: accertati che l'epilogo e il prologo del while siano effettivamente differenti o se
//NUT: si puo' avere un solo file utilizzato sia per il prologo che per l'epilogo.
//NUT: da sistemare senza le global
//#RNU_RES_E
-global SCI2CSTACK
+global SCI2CSTACK
global StackPosition;
global STACKDEDUG
@@ -76,7 +76,7 @@ if(SharedInfo.WhileExpr.CondVar == '')
// The while condition variable is generated by the HandleEndGenFun.
//#RNU_RES_E
- // --- Pop the name of the condition variable or number. ---
+ // --- Pop the name of the condition variable or number. ---
Pop1 = AST_PopASTStack();
[ArgName,ArgScope] = AST_ExtractNameAndScope(Pop1);
@@ -84,12 +84,12 @@ if(SharedInfo.WhileExpr.CondVar == '')
PrintStringInfo(' ',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: Expected while(variable) or while(number).','','stdout','y');
PrintStringInfo('SCI2CERROR: Expected a variable or number in the AST while expression.','','stdout','y');
- PrintStringInfo('SCI2CERROR: Report this error to raffaele.nutricato@tiscali.it.','','stdout','y');
+ PrintStringInfo('SCI2CERROR: Report this error to http://forge.scilab.org/index.php/p/scilab2c/issues/.','','stdout','y');
PrintStringInfo(' ',ReportFileName,'both','y');
SCI2Cerror(' ');
SCI2Cerror('Expected a conditional variable in the while expression');
end
-
+
SharedInfo.WhileExpr.CondVar = ArgName;
//#RNU_RES_B
// --- Repush strings into the AST stack. ---