@@ -448,7 +448,6 @@ void SCHEMAprint( Schema schema, FILES * files, void * complexCol,
448448#endif
449449 fprintf ( initfile, " #include <Registry.h>\n #include <string>\n " );
450450 fprintf ( initfile, " #include <sc_memmgr.h>\n " );
451- fprintf ( files->init , " \n #include \" %sHelpers.h\"\n " , schnm );
452451
453452 fprintf ( initfile, " \n void %sInit (Registry& reg) {\n " , schnm );
454453
@@ -497,15 +496,6 @@ void SCHEMAprint( Schema schema, FILES * files, void * complexCol,
497496 initfile = files->init = fopen ( fnm, " a" );
498497 }
499498
500- // 5. header containing inline helper functions (for runtime aggregate bounds, possibly other uses)
501- sprintf ( fnm, " %sHelpers.h" , schnm );
502- if ( !( files->helpers = FILEcreate ( fnm ) ) ) {
503- return ;
504- }
505- fprintf ( files->helpers , " \n // In the exp2cxx source code, this file is referred to as files->helpers.\n // This line printed at %s:%d (one of two possible locations).\n\n " , __FILE__, __LINE__ );
506- fprintf ( files->helpers , " //this file contains inline helper functions (for runtime aggregate bounds, possibly other uses)\n\n " );
507-
508-
509499 /* ********* record in files relating to entire input ***********/
510500
511501 /* add to schema's include and initialization file */
@@ -533,7 +523,6 @@ void SCHEMAprint( Schema schema, FILES * files, void * complexCol,
533523 } else {
534524 fclose ( initfile );
535525 }
536- FILEclose ( files->helpers );
537526}
538527
539528/* * ****************************************************************
@@ -650,18 +639,8 @@ EXPRESSPrint( Express express, ComplexCollect & col, FILES * files ) {
650639 fprintf ( files->init , " \n // in the exp2cxx source code, this file is generally referred to as files->init or initfile\n " );
651640
652641 fprintf ( initfile, " #include \" %s.h\"\n\n " , schnm );
653- fprintf ( files->init , " \n #include \" %sHelpers.h\"\n " , schnm );
654642 fprintf ( initfile, " void \n %sInit (Registry& reg)\n {\n " , schnm );
655643
656- // 5. header containing inline helper functions (for runtime aggregate bounds, possibly other uses)
657- sprintf ( fnm, " %sHelpers.h" , schnm );
658- if ( !( files->helpers = FILEcreate ( fnm ) ) ) {
659- return ;
660- }
661- fprintf ( files->helpers , " \n // In the exp2cxx source code, this file is referred to as files->helpers.\n // This line printed at %s:%d (one of two possible locations).\n\n " , __FILE__, __LINE__ );
662- fprintf ( files->helpers , " //this file contains inline helper functions (for runtime aggregate bounds, possibly other uses)\n\n " );
663-
664-
665644 /* ********* record in files relating to entire input ***********/
666645
667646 /* add to schema's include and initialization file */
0 commit comments