Changeset 3da7c19 for libcfa/src/iostream.cfa
- Timestamp:
- Jun 11, 2019, 1:36:05 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 4b7cce6
- Parents:
- d57e349 (diff), 8548c35 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
rd57e349 r3da7c19 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.