Changeset 6b228cae


Ignore:
Timestamp:
Feb 12, 2024, 1:03:26 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
77bc259
Parents:
da22726
Message:

more testing for missing data when reading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    rda22726 r6b228cae  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Feb 11 09:16:19 2024
    13 // Update Count     : 1965
     12// Last Modified On : Mon Feb 12 09:26:05 2024
     13// Update Count     : 1966
    1414//
    1515
     
    995995                        for ( f.wd ) {                                                          // skip N characters
    996996                                int args = fmt( is, "%c", &ch );
    997                                 if ( ! eof( is ) && args != 1 ) throwResume ExceptionInst( missing_data );
     997                                if ( args != 1 ) throwResume ExceptionInst( missing_data );
    998998                        } // for
    999999                } // if
Note: See TracChangeset for help on using the changeset viewer.