Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    r0efb269 r17a1b21  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Apr 20 14:02:43 2019
    13 // Update Count     : 617
     12// Last Modified On : Mon Mar  4 20:57:24 2019
     13// Update Count     : 593
    1414//
    1515
     
    396396
    397397        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
    405399                return is;
    406400        } // ?|?
     
    504498                return is;
    505499        } // nl
    506 
    507         istype & nlOn( istype & is ) {
    508                 nlOn( is );                                                                             // call void returning
    509                 return is;
    510         } // nlOn
    511 
    512         istype & nlOff( istype & is ) {
    513                 nlOff( is );                                                                    // call void returning
    514                 return is;
    515         } // nlOff
    516500} // distribution
    517501
Note: See TracChangeset for help on using the changeset viewer.