Ignore:
Timestamp:
Jul 15, 2019, 9:32:21 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:
20b461f, 6f15121
Parents:
7dc2e57b
Message:

add aliases stdin, stdout, stderr for sin, sout, serr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.cfa

    r7dc2e57b ra87d40b  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jul 14 11:51:10 2019
    13 // Update Count     : 347
     12// Last Modified On : Mon Jul 15 18:11:26 2019
     13// Update Count     : 349
    1414//
    1515
     
    165165
    166166static ofstream soutFile = { (FILE *)(&_IO_2_1_stdout_) };
    167 ofstream & sout = soutFile;
     167ofstream & sout = soutFile, & stdout = soutFile;
    168168static ofstream serrFile = { (FILE *)(&_IO_2_1_stderr_) };
    169 ofstream & serr = serrFile;
     169ofstream & serr = serrFile, & stderr = serrFile;
    170170
    171171static ofstream exitFile = { (FILE *)(&_IO_2_1_stdout_) };
     
    267267
    268268static ifstream sinFile = { (FILE *)(&_IO_2_1_stdin_) };
    269 ifstream & sin = sinFile;
     269ifstream & sin = sinFile, & stdin = sinFile;
    270270
    271271// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.