@@ -628,11 +628,11 @@ static Express PARSERrun( char * filename, FILE * fp ) {
628628 parseData .scanner = scanner ;
629629
630630 if ( print_objects_while_running & OBJ_PASS_BITS ) {
631- fprintf ( stdout , "parse (pass %d)\n" , EXPRESSpass );
631+ fprintf ( stderr , "parse (pass %d)\n" , EXPRESSpass );
632632 }
633633
634634 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
635- fprintf ( stdout , "parse: %s (schema file)\n" , filename );
635+ fprintf ( stderr , "parse: %s (schema file)\n" , filename );
636636 }
637637
638638 SCAN_lex_init ( filename , fp );
@@ -775,7 +775,7 @@ Schema EXPRESSfind_schema( Dictionary modeldict, char * name ) {
775775 char lower [MAX_SCHEMA_FILENAME_SIZE ]; /* avoid lowerizing original */
776776
777777 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
778- fprintf ( stdout , "pass %d: %s (schema reference)\n" ,
778+ fprintf ( stderr , "pass %d: %s (schema reference)\n" ,
779779 EXPRESSpass , name );
780780 }
781781
@@ -794,15 +794,15 @@ Schema EXPRESSfind_schema( Dictionary modeldict, char * name ) {
794794 LISTdo ( EXPRESS_path , dir , Dir * )
795795 sprintf ( dir -> leaf , "%s.exp" , lower );
796796 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
797- fprintf ( stdout , "pass %d: %s (schema file?)\n" ,
797+ fprintf ( stderr , "pass %d: %s (schema file?)\n" ,
798798 EXPRESSpass , dir -> full );
799799 }
800800 fp = fopen ( dir -> full , "r" );
801801 if ( fp ) {
802802 Express express ;
803803
804804 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
805- fprintf ( stdout , "pass %d: %s (schema file found)\n" ,
805+ fprintf ( stderr , "pass %d: %s (schema file found)\n" ,
806806 EXPRESSpass , dir -> full );
807807 }
808808
@@ -818,7 +818,7 @@ Schema EXPRESSfind_schema( Dictionary modeldict, char * name ) {
818818 return 0 ;
819819 } else {
820820 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
821- fprintf ( stdout , "pass %d: %s (schema file not found), errno = %d\n" , EXPRESSpass , dir -> full , errno );
821+ fprintf ( stderr , "pass %d: %s (schema file not found), errno = %d\n" , EXPRESSpass , dir -> full , errno );
822822 }
823823 }
824824 LISTod
@@ -890,7 +890,7 @@ void EXPRESSresolve( Express model ) {
890890
891891 EXPRESSpass ++ ;
892892 if ( print_objects_while_running & OBJ_PASS_BITS ) {
893- fprintf ( stdout , "pass %d: resolving schema references\n" , EXPRESSpass );
893+ fprintf ( stderr , "pass %d: resolving schema references\n" , EXPRESSpass );
894894 }
895895
896896 /* connect the real schemas to all the rename clauses */
@@ -902,7 +902,7 @@ void EXPRESSresolve( Express model ) {
902902
903903 LISTdo ( PARSEnew_schemas , print_schema , Schema ) {
904904 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
905- fprintf ( stdout , "pass %d: %s (schema)\n" ,
905+ fprintf ( stderr , "pass %d: %s (schema)\n" ,
906906 EXPRESSpass , print_schema -> symbol .name );
907907 }
908908
@@ -924,7 +924,7 @@ void EXPRESSresolve( Express model ) {
924924
925925 EXPRESSpass ++ ;
926926 if ( print_objects_while_running & OBJ_PASS_BITS ) {
927- fprintf ( stdout , "pass %d: resolving objects references to other schemas\n" , EXPRESSpass );
927+ fprintf ( stderr , "pass %d: resolving objects references to other schemas\n" , EXPRESSpass );
928928 }
929929
930930 /* connect the object in each rename clause to the real object */
@@ -935,7 +935,7 @@ void EXPRESSresolve( Express model ) {
935935 }
936936
937937 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
938- fprintf ( stdout , "pass %d: %s (schema)\n" ,
938+ fprintf ( stderr , "pass %d: %s (schema)\n" ,
939939 EXPRESSpass , schema -> symbol .name );
940940 }
941941
@@ -960,7 +960,7 @@ void EXPRESSresolve( Express model ) {
960960 /* defined types */
961961 EXPRESSpass ++ ;
962962 if ( print_objects_while_running & OBJ_PASS_BITS ) {
963- fprintf ( stdout , "pass %d: resolving sub and supertypes\n" , EXPRESSpass );
963+ fprintf ( stderr , "pass %d: resolving sub and supertypes\n" , EXPRESSpass );
964964 }
965965
966966 DICTdo_type_init ( model -> symbol_table , & de , OBJ_SCHEMA );
@@ -977,7 +977,7 @@ void EXPRESSresolve( Express model ) {
977977 /* resolve types */
978978 EXPRESSpass ++ ;
979979 if ( print_objects_while_running & OBJ_PASS_BITS ) {
980- fprintf ( stdout , "pass %d: resolving types\n" , EXPRESSpass );
980+ fprintf ( stderr , "pass %d: resolving types\n" , EXPRESSpass );
981981 }
982982
983983 SCOPEresolve_types ( model );
@@ -991,7 +991,7 @@ void EXPRESSresolve( Express model ) {
991991 /* type resolution */
992992 EXPRESSpass ++ ;
993993 if ( print_objects_while_running & OBJ_PASS_BITS ) {
994- fprintf ( stdout , "pass %d: resolving implied USE's\n" , EXPRESSpass );
994+ fprintf ( stderr , "pass %d: resolving implied USE's\n" , EXPRESSpass );
995995 }
996996
997997 DICTdo_type_init ( model -> symbol_table , & de , OBJ_SCHEMA );
@@ -1001,7 +1001,7 @@ void EXPRESSresolve( Express model ) {
10011001 }
10021002
10031003 if ( print_objects_while_running & OBJ_SCHEMA_BITS ) {
1004- fprintf ( stdout , "pass %d: %s (schema)\n" ,
1004+ fprintf ( stderr , "pass %d: %s (schema)\n" ,
10051005 EXPRESSpass , schema -> symbol .name );
10061006 }
10071007
@@ -1022,7 +1022,7 @@ void EXPRESSresolve( Express model ) {
10221022
10231023 EXPRESSpass ++ ;
10241024 if ( print_objects_while_running & OBJ_PASS_BITS ) {
1025- fprintf ( stdout , "pass %d: resolving expressions and statements\n" , EXPRESSpass );
1025+ fprintf ( stderr , "pass %d: resolving expressions and statements\n" , EXPRESSpass );
10261026 }
10271027
10281028 SCOPEresolve_expressions_statements ( model );
0 commit comments