Changes in libcfa/src/iostream.cfa [b117e0c:86a8be5]
- File:
-
- 1 edited
-
libcfa/src/iostream.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
rb117e0c r86a8be5 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jun 9 20:54:05201913 // Update Count : 80 412 // Last Modified On : Mon Jun 10 18:06:16 2019 13 // Update Count : 809 14 14 // 15 15 … … 797 797 } // ?|? 798 798 799 forall( dtype istype | istream( istype ) ) 800 istype & ?|?( istype & is, _Istream_Char f ) { 801 fmt( is, "%*c" ); // argument variable unused 802 return is; 803 } // ?|? 804 799 805 #define InputFMTImpl( T, CODE ) \ 800 806 forall( dtype istype | istream( istype ) ) \ … … 802 808 enum { size = 16 }; \ 803 809 char fmtstr[size]; \ 804 if ( f.wd == -1 || strcmp( CODE, "c" ) == 0 ) { /* ignore width with "c" */\810 if ( f.wd == -1 ) { \ 805 811 snprintf( fmtstr, size, "%%%s%s", f.ignore ? "*" : "", CODE ); \ 806 812 } else { \ … … 812 818 } // ?|? 813 819 814 InputFMTImpl( char, "c" )815 820 InputFMTImpl( signed char, "hhi" ) 816 821 InputFMTImpl( unsigned char, "hhi" )
Note:
See TracChangeset
for help on using the changeset viewer.