build and load ast macros 84/14884/2
Antoine ELIAS [Thu, 17 Jul 2014 09:33:29 +0000 (11:33 +0200)]
Change-Id: Icf5d3cc333585024b2be6d5f412c967db8df9d31

scilab/modules/ast/etc/ast.start
scilab/modules/ast/macros/buildmacros.sce

index 6bfa34b..0a8a0ea 100644 (file)
@@ -7,3 +7,8 @@
 // are also available at
 // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
+if ~isfile('SCI/modules/ast/macros/lib') then
+error(msprintf(gettext("%s: Could not find ''%s'': Please check that macros have been built.\n"), ..
+      "startModule", "SCI/modules/ast/macros/lib"));
+end
+load('SCI/modules/ast/macros/lib');
index 1b5910d..c607e92 100644 (file)
@@ -11,5 +11,5 @@ if (isdef("genlib") == %f) then
     exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce");
 end
 //------------------------------------
-//genlib('api_scilablib','SCI/modules/api_scilab/macros',%f,%t);
+genlib("astlib","SCI/modules/ast/macros",%f,%t);
 //------------------------------------