diff options
author | Sunil Shetye | 2019-05-16 12:18:48 +0530 |
---|---|---|
committer | Sunil Shetye | 2019-05-29 11:08:01 +0530 |
commit | 26b77d7593b5ee0792b6b556f5569ea4227c2b02 (patch) | |
tree | 8f92052234b01bf39b9c3a6e3cb12b3962d96b1b /macros/ToolInitialization/INIT_SCI2CLoader.sce | |
parent | 5a73e6bec4a12db7afae9de300e39256f754d8d3 (diff) | |
download | scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.tar.gz scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.tar.bz2 scilab2c-26b77d7593b5ee0792b6b556f5569ea4227c2b02.zip |
convert to unix format
Diffstat (limited to 'macros/ToolInitialization/INIT_SCI2CLoader.sce')
-rw-r--r-- | macros/ToolInitialization/INIT_SCI2CLoader.sce | 144 |
1 files changed, 72 insertions, 72 deletions
diff --git a/macros/ToolInitialization/INIT_SCI2CLoader.sce b/macros/ToolInitialization/INIT_SCI2CLoader.sce index bd07f892..0e0261cd 100644 --- a/macros/ToolInitialization/INIT_SCI2CLoader.sce +++ b/macros/ToolInitialization/INIT_SCI2CLoader.sce @@ -1,72 +1,72 @@ -// -----------------------------------------------------------------
-// Load SCI2C directories and files.
-//
-// Input data:
-// SCI2CLoaderMainDir: path of the directory where this script (main.sce) is stored.
-//
-// Output data:
-// ---
-//
-// Status:
-// 11-Apr-2007 -- Raffaele Nutricato: Author.
-//
-// Copyright 2007 Raffaele Nutricato.
-// Contact: raffaele.nutricato@tiscali.it
-// -----------------------------------------------------------------
-
-SCI2CLoaderMainDir = '..';
-
-// ---------------------------
-// --- Define Directories. ---
-// ---------------------------
-// Directory containing functions related to the management of the Abstract Syntactic tree.
-ASTManagement = 'ASTManagement';
-
-// Directory containing functions that produce the C code.
-CCodeGeneration = 'CCodeGeneration';
-
-// Directory containing functions that perform general tasks.
-GeneralFunctions = 'GeneralFunctions';
-
-// Directory containing functions that perform the initialization of the SCI2C tool.
-ToolInitialization = 'ToolInitialization';
-
-// Directory containing functions that perform the function annotation.
-FunctionAnnotation = 'FunctionAnnotation';
-
-// Directory containing functions that handle symbol table.
-SymbolTable = 'SymbolTable';
-
-// Directory containing functions that handle function lists.
-FunctionList = 'FunctionList';
-
-// Directory containing functions that print SCI2C error messages.
-ErrorMessages = 'ErrorMessages';
-
-
-// -------------------------------
-// --- End Define Directories. ---
-// -------------------------------
-
-// -------------
-// --- getd. ---
-// -------------
-getd(fullfile(SCI2CLoaderMainDir,ASTManagement));
-getd(fullfile(SCI2CLoaderMainDir,CCodeGeneration));
-getd(fullfile(SCI2CLoaderMainDir,GeneralFunctions));
-getd(fullfile(SCI2CLoaderMainDir,ToolInitialization));
-getd(fullfile(SCI2CLoaderMainDir,FunctionAnnotation));
-getd(fullfile(SCI2CLoaderMainDir,SymbolTable));
-getd(fullfile(SCI2CLoaderMainDir,FunctionList));
-getd(fullfile(SCI2CLoaderMainDir,ErrorMessages));
-// -----------------
-// --- End getd. ---
-// -----------------
-
-// -------------
-// --- exec. ---
-// -------------
-exec(fullfile(SCI2CLoaderMainDir,ASTManagement,'%program_p.sci'));
-// -----------------
-// --- End exec. ---
-// -----------------
+// ----------------------------------------------------------------- +// Load SCI2C directories and files. +// +// Input data: +// SCI2CLoaderMainDir: path of the directory where this script (main.sce) is stored. +// +// Output data: +// --- +// +// Status: +// 11-Apr-2007 -- Raffaele Nutricato: Author. +// +// Copyright 2007 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +SCI2CLoaderMainDir = '..'; + +// --------------------------- +// --- Define Directories. --- +// --------------------------- +// Directory containing functions related to the management of the Abstract Syntactic tree. +ASTManagement = 'ASTManagement'; + +// Directory containing functions that produce the C code. +CCodeGeneration = 'CCodeGeneration'; + +// Directory containing functions that perform general tasks. +GeneralFunctions = 'GeneralFunctions'; + +// Directory containing functions that perform the initialization of the SCI2C tool. +ToolInitialization = 'ToolInitialization'; + +// Directory containing functions that perform the function annotation. +FunctionAnnotation = 'FunctionAnnotation'; + +// Directory containing functions that handle symbol table. +SymbolTable = 'SymbolTable'; + +// Directory containing functions that handle function lists. +FunctionList = 'FunctionList'; + +// Directory containing functions that print SCI2C error messages. +ErrorMessages = 'ErrorMessages'; + + +// ------------------------------- +// --- End Define Directories. --- +// ------------------------------- + +// ------------- +// --- getd. --- +// ------------- +getd(fullfile(SCI2CLoaderMainDir,ASTManagement)); +getd(fullfile(SCI2CLoaderMainDir,CCodeGeneration)); +getd(fullfile(SCI2CLoaderMainDir,GeneralFunctions)); +getd(fullfile(SCI2CLoaderMainDir,ToolInitialization)); +getd(fullfile(SCI2CLoaderMainDir,FunctionAnnotation)); +getd(fullfile(SCI2CLoaderMainDir,SymbolTable)); +getd(fullfile(SCI2CLoaderMainDir,FunctionList)); +getd(fullfile(SCI2CLoaderMainDir,ErrorMessages)); +// ----------------- +// --- End getd. --- +// ----------------- + +// ------------- +// --- exec. --- +// ------------- +exec(fullfile(SCI2CLoaderMainDir,ASTManagement,'%program_p.sci')); +// ----------------- +// --- End exec. --- +// ----------------- |