Changeset b45eec in git for Singular/iplib.cc
- Timestamp:
- Apr 19, 2020, 9:57:14 PM (4 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ffcf715a570941627bf020648e93955f1596f2ef
- Parents:
- d49a473d44aa25c5ecc3126360ab3179ddb8af7e636fa5455e699fa8c0a820dd60e00a059f96f8ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
rd49a47 rb45eec 294 294 BOOLEAN iiAllStart(procinfov pi, const char *p, feBufferTypes t, int l) 295 295 { 296 int save_trace=traceit; 297 int restore_traceit=0; 298 if (traceit_stop 299 && (traceit & TRACE_SHOW_LINE)) 300 { 301 traceit &=(~TRACE_SHOW_LINE); 302 traceit_stop=0; 303 restore_traceit=1; 304 } 296 305 // see below: 297 306 BITSET save1=si_opt_1; … … 300 309 pi, l ); 301 310 BOOLEAN err=yyparse(); 311 302 312 if (sLastPrinted.rtyp!=0) 303 313 { 304 314 sLastPrinted.CleanUp(); 305 315 } 316 317 if (restore_traceit) traceit=save_trace; 318 306 319 // the access to optionStruct and verboseStruct do not work 307 320 // on x86_64-Linux for pic-code … … 391 404 iiCurrArgs=NULL; 392 405 } 393 iiCurrProc=pn;394 406 /* start interpreter ======================================*/ 395 407 myynest++; … … 401 413 else 402 414 { 415 iiCurrProc=pn; 403 416 err=iiAllStart(pi,pi->data.s.body,BT_proc,pi->data.s.body_lineno-(v!=NULL)); 417 iiCurrProc=NULL; 404 418 405 419 if (iiLocalRing[myynest-1] != currRing) … … 891 905 if(IDTYP(pl)!=PACKAGE_CMD) 892 906 { 907 omFree(plib); 893 908 WarnS("not of type package."); 894 909 fclose(fp); 895 910 return TRUE; 896 911 } 897 if (!force) return FALSE; 912 if (!force) 913 { 914 omFree(plib); 915 return FALSE; 916 } 898 917 } 899 918 LoadResult = iiLoadLIB(fp, libnamebuf, newlib, pl, autoexport, tellerror); … … 902 921 if(!LoadResult) IDPACKAGE(pl)->loaded = TRUE; 903 922 omFree((ADDRESS)plib); 904 905 return LoadResult; 923 return LoadResult; 906 924 } 907 925 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ … … 1306 1324 IDPACKAGE(pl)->libname=omStrDup(newlib); 1307 1325 } 1326 omFree(plib); 1308 1327 IDPACKAGE(pl)->language = LANG_C; 1309 1328
Note: See TracChangeset
for help on using the changeset viewer.