Ignore:
Timestamp:
Jun 26, 2023, 10:51:47 AM (15 months ago)
Author:
caparson <caparson@…>
Branches:
master
Children:
917e1fd
Parents:
adc73a5 (diff), 1fbf481 (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:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/conditional.cfa

    radc73a5 r48ec19a  
    33// I may fold this back into terminate.cfa and resume.cfa once setting
    44// up the non-trivial exception is reasonable to do.
     5
     6#include <fstream.hfa>
    57
    68exception num_error {
     
    1113
    1214void caught_num_error(int expect, num_error * actual) {
    13         printf("Caught num_error: expected=%d actual=%d.\n", expect, actual->num);
     15        sout | "Caught num_error: expected=" | expect | "actual=" | actual->num | '.';
    1416}
    1517
Note: See TracChangeset for help on using the changeset viewer.