Changes in libcfa/src/iostream.cfa [0efb269:17a1b21]
- File:
-
- 1 edited
-
libcfa/src/iostream.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
r0efb269 r17a1b21 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Apr 20 14:02:43201913 // Update Count : 61712 // Last Modified On : Mon Mar 4 20:57:24 2019 13 // Update Count : 593 14 14 // 15 15 … … 396 396 397 397 istype & ?|?( istype & is, char & c ) { 398 char temp; 399 for () { 400 fmt( is, "%c", &temp ); // must pass pointer through varg to fmt 401 // do not overwrite parameter with newline unless appropriate 402 if ( temp != '\n' || getANL( is ) ) { c = temp; break; } 403 if ( eof( is ) ) break; 404 } // for 398 fmt( is, "%c", &c ); // must pass pointer through varg to fmt 405 399 return is; 406 400 } // ?|? … … 504 498 return is; 505 499 } // nl 506 507 istype & nlOn( istype & is ) {508 nlOn( is ); // call void returning509 return is;510 } // nlOn511 512 istype & nlOff( istype & is ) {513 nlOff( is ); // call void returning514 return is;515 } // nlOff516 500 } // distribution 517 501
Note:
See TracChangeset
for help on using the changeset viewer.