Changeset 3db78b89 for libcfa/src/iostream.cfa
- Timestamp:
- Jan 24, 2024, 12:11:48 PM (8 months ago)
- Branches:
- master
- Children:
- 64c4b4d
- Parents:
- 8a33777
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
r8a33777 r3db78b89 1076 1076 } // if 1077 1077 // FIX ME: CFA strings need to be modified to NOT change the argument for this case, then this can be removed. 1078 if ( rwd > 0 && args == 0 ) f.s[0]= '\0'; // read failed => no pattern match => set string to null1078 if ( ! f.flags.ignore && rwd > 0 && args == 0 ) f.s[0]= '\0'; // read failed => no pattern match => set string to null 1079 1079 } else { 1080 1080 if ( f.flags.delimiter ) { // getline … … 1114 1114 } // if 1115 1115 } // if 1116 if ( rwd > 0 && args == 0 ) f.s[0]= '\0'; // read failed => no pattern match => set string to null1116 if ( ! f.flags.ignore && rwd > 0 && args == 0 ) f.s[0]= '\0'; // read failed => no pattern match => set string to null 1117 1117 } // if 1118 1118 if ( args == 1 && eof( is ) ) { // data but scan ended at EOF
Note: See TracChangeset
for help on using the changeset viewer.