Ignore:
Timestamp:
Aug 21, 2018, 2:24:29 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
Children:
2a6292d
Parents:
2b79a70 (diff), efa8b6af (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 moved

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    r2b79a70 rcdbab55  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jun  2 08:24:56 2018
    13 // Update Count     : 471
     12// Last Modified On : Sat Aug 11 13:56:43 2018
     13// Update Count     : 473
    1414//
    1515
    16 #include "iostream"
     16#include "iostream.hfa"
    1717
    1818extern "C" {
     
    2727
    2828forall( dtype ostype | ostream( ostype ) ) {
    29         ostype & ?|?( ostype & os, _Bool b ) {
     29        ostype & ?|?( ostype & os, bool b ) {
    3030                if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    3131                fmt( os, "%s", b ? "true" : "false" );
     
    275275
    276276forall( dtype istype | istream( istype ) ) {
    277         istype & ?|?( istype & is, _Bool & b ) {
     277        istype & ?|?( istype & is, bool & b ) {
    278278                char val[6];
    279279                fmt( is, "%5s", val );
     
    281281                else if ( strcmp( val, "false" ) == 0 ) b = false;
    282282                else {
    283                         fprintf( stderr, "invalid _Bool constant\n" );
     283                        fprintf( stderr, "invalid Boolean constant\n" );
    284284                        abort();
    285285                } // if
Note: See TracChangeset for help on using the changeset viewer.