Changeset 65240bb for tests/math1.cfa


Ignore:
Timestamp:
Jul 12, 2019, 1:46:10 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
302d84c2
Parents:
1d760934
Message:

first attempt to add streams exit and abort, rename private iostream nl function to ends

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/math1.cfa

    r1d760934 r65240bb  
    1010// Created On       : Fri Apr 22 14:59:21 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Mar 25 22:56:47 2019
    13 // Update Count     : 109
     12// Last Modified On : Fri Jul 12 12:04:56 2019
     13// Update Count     : 111
    1414//
    1515
     
    5959        S ?\?( S s, unsigned long y ) { return (S){ s.i \ y }; }
    6060        ofstream & ?|?( ofstream & os, S s ) { return os | s.i; }
    61         void ?|?( ofstream & os, S s ) { (ofstream &)(os | s); nl( os ); }
     61        void ?|?( ofstream & os, S s ) { (ofstream &)(os | s); ends( os ); }
    6262        S s = { 4 };
    6363        S x = s \ 2;
Note: See TracChangeset for help on using the changeset viewer.