version 1.3, 2021/03/24 04:35:15 |
version 1.4, 2021/03/25 08:42:32 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2018/parse/load.c,v 1.2 2020/10/06 06:31:20 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2018/parse/load.c,v 1.3 2021/03/24 04:35:15 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 369 void loadasirfile(char *name0) |
|
Line 369 void loadasirfile(char *name0) |
|
#else |
#else |
char com[BUFSIZ]; |
char com[BUFSIZ]; |
|
|
sprintf(com,"%s -I%s -D__FILE__=%s %s",cppname,asir_libdir,name0,name0); in = popen(com,"r"); |
// sprintf(com,"%s -I%s -D__FILE__=%s %s",cppname,asir_libdir,name0,name0); in = popen(com,"r"); |
|
sprintf(com,"%s -I%s %s",cppname,asir_libdir,name0); in = popen(com,"r"); |
if ( !in ) { |
if ( !in ) { |
perror("popen"); |
perror("popen"); |
error("load : failed"); |
error("load : failed"); |