Changeset 22854f8 for src/libcfa


Ignore:
Timestamp:
Mar 22, 2017, 6:00:29 PM (8 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:
1674ff8
Parents:
cb91437 (diff), c4187df (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.
git-author:
Peter A. Buhr <pabuhr@…> (03/22/17 17:39:55)
git-committer:
Peter A. Buhr <pabuhr@…> (03/22/17 18:00:29)
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream.c

    rcb91437 r22854f8  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar 22 17:21:23 2017
    13 // Update Count     : 358
     12// Last Modified On : Wed Mar 22 17:46:06 2017
     13// Update Count     : 359
    1414//
    1515
     
    201201forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } )
    202202ostype * ?|?( ostype * os, T arg, Params rest ) {
    203         forall( ttype Params ) ostype * prtTuple( ostype * os, T arg, Params rest ) {
     203        forall( ttype Params ) ostype * prtTuple( T arg, Params rest ) {
    204204                os | arg;                                                                               // print first argument
    205205                os | rest;                                                                              // print remaining arguments
     
    207207        } // prtTuple
    208208        sepSetCur( os, sepGetTuple( os ) );                                     // switch to tuple separator
    209         prtTuple( os, arg, rest );                                                      // recursively print tuple
     209        prtTuple( arg, rest );                                                          // recursively print tuple
    210210        sepSetCur( os, sepGet( os ) );                                          // switch to regular separator
    211211        return os;
Note: See TracChangeset for help on using the changeset viewer.