Changeset 3e239ea


Ignore:
Timestamp:
Sep 18, 2017, 11:21:40 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
6994d8c
Parents:
5f782f7
Message:

add implicit spacing between signed/unsigned char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream.c

    r5f782f7 r3e239ea  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Sep 11 09:21:24 2017
    13 // Update Count     : 420
     12// Last Modified On : Sun Sep 17 23:24:25 2017
     13// Update Count     : 422
    1414//
    1515
     
    3434forall( dtype ostype | ostream( ostype ) )
    3535ostype * ?|?( ostype * os, signed char c ) {
     36        if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    3637        fmt( os, "%hhd", c );
    37         sepOff( os );
    3838        return os;
    3939} // ?|?
     
    4141forall( dtype ostype | ostream( ostype ) )
    4242ostype * ?|?( ostype * os, unsigned char c ) {
     43        if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    4344        fmt( os, "%hhu", c );
    44         sepOff( os );
    4545        return os;
    4646} // ?|?
Note: See TracChangeset for help on using the changeset viewer.