Ignore:
Timestamp:
Jun 25, 2024, 12:09:43 PM (19 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
d96d4f0
Parents:
f3b67b6 (diff), 5eb3f65 (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
  • libcfa/src/enum.cfa

    rf3b67b6 r6803ff1  
    66forall(ostype & | basic_ostream(ostype), E, V| CfaEnum(E, V))
    77ostype & ?|?(ostype& os, E e) {
    8     return os | type_name(e) | "." | labelE(e);
     8    return os | type_name(e) | "." | label(e);
    99}
    1010
    1111forall(ostype & | basic_ostream(ostype), E| CfaEnum(E, quasi_void))
    1212ostype & ?|?(ostype& os, E e) {
    13     return os | type_name(e) | "." | labelE(e);
     13    return os | type_name(e) | "." | label(e);
    1414}
    1515
    1616forall(ostype & | basic_ostream(ostype), E, V| CfaEnum(E, V)) {
    17     int ?==?(E l, E r) { return posE(l) == posE(r); }
    18     int ?<=?(E l, E r) { return posE(l) <= posE(r); }
    19     int ?>=?(E l, E r) { return posE(l) >= posE(r); }
    20     int ?<?(E l, E r) { return posE(l) < posE(r); }
    21     int ?>?(E l, E r) { return posE(l) > posE(r); }
     17    int ?==?(E l, E r) { return posn(l) == posn(r); }
     18    int ?<=?(E l, E r) { return posn(l) <= posn(r); }
     19    int ?>=?(E l, E r) { return posn(l) >= posn(r); }
     20    int ?<?(E l, E r) { return posn(l) < posn(r); }
     21    int ?>?(E l, E r) { return posn(l) > posn(r); }
    2222}
Note: See TracChangeset for help on using the changeset viewer.