Ignore:
Timestamp:
Aug 20, 2024, 6:15:01 PM (13 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
ad47ec4
Parents:
d1f5054 (diff), df2e00f (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/enum_tests/input.cfa

    rd1f5054 r960665c  
    66        E e;
    77
    8         for () {
    9                 try {
    10                         sin | e;
    11                 } catch( missing_data * ) {
    12                         sout | "missing data";
    13                         continue;                                                                       // try again
    14                 } // try
    15           if ( eof( sin ) ) break;
    16                 sout | e | "= " | value( e );
    17         } // for
    18 }
     8        try {
     9                for () {
     10                        try {
     11                                sin | e;
     12                        } catch( missing_data * ) {
     13                                sout | "missing data";
     14                                continue;                                                               // try again
     15                        } // try
     16                        sout | e | "= " | value( e );
     17                } // for
     18        } catch( end_of_file * ) {
     19        } // try
     20} // main
Note: See TracChangeset for help on using the changeset viewer.