Changeset 7b3a6e6 for libcfa/src/iostream.cfa
- Timestamp:
- Aug 14, 2018, 1:21:19 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 5a5d31a
- Parents:
- ef2eade (diff), 0e0f128c (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
ref2eade r7b3a6e6 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 2 08:24:56201813 // Update Count : 47 112 // Last Modified On : Sat Aug 11 13:56:43 2018 13 // Update Count : 473 14 14 // 15 15 … … 27 27 28 28 forall( dtype ostype | ostream( ostype ) ) { 29 ostype & ?|?( ostype & os, _Bool b ) {29 ostype & ?|?( ostype & os, bool b ) { 30 30 if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) ); 31 31 fmt( os, "%s", b ? "true" : "false" ); … … 275 275 276 276 forall( dtype istype | istream( istype ) ) { 277 istype & ?|?( istype & is, _Bool & b ) {277 istype & ?|?( istype & is, bool & b ) { 278 278 char val[6]; 279 279 fmt( is, "%5s", val ); … … 281 281 else if ( strcmp( val, "false" ) == 0 ) b = false; 282 282 else { 283 fprintf( stderr, "invalid _Boolconstant\n" );283 fprintf( stderr, "invalid Boolean constant\n" ); 284 284 abort(); 285 285 } // if
Note: See TracChangeset
for help on using the changeset viewer.