Changeset ff178ee for src/prelude


Ignore:
Timestamp:
Apr 12, 2017, 4:34:18 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
0d10090, 549950c
Parents:
e869e434
Message:

add relational operators for char and short to prelude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/prelude/prelude.cf

    re869e434 rff178ee  
    217217signed int ?<?( _Bool, _Bool ),                                         ?<=?( _Bool, _Bool ),
    218218           ?>?( _Bool, _Bool ),                                         ?>=?( _Bool, _Bool );
     219signed int ?<?( char, char ),                           ?<=?( char, char ),
     220           ?>?( char, char ),                           ?>=?( char, char );
     221signed int ?<?( signed char, signed char ),                             ?<=?( signed char, signed char ),
     222           ?>?( signed char, signed char ),                             ?>=?( signed char, signed char );
    219223signed int ?<?( unsigned char, unsigned char ),                         ?<=?( unsigned char, unsigned char ),
    220224           ?>?( unsigned char, unsigned char ),                         ?>=?( unsigned char, unsigned char );
     225signed int ?<?( signed short, signed short ),                           ?<=?( signed short, signed short ),
     226           ?>?( signed short, signed short ),                           ?>=?( signed short, signed short );
     227signed int ?<?( unsigned short, unsigned short ),                       ?<=?( unsigned short, unsigned short ),
     228           ?>?( unsigned short, unsigned short ),                               ?>=?( unsigned short, unsigned short );
    221229signed int ?<?( signed int, signed int ),                               ?<=?( signed int, signed int ),
    222230           ?>?( signed int, signed int ),                               ?>=?( signed int, signed int );
     
    265273
    266274signed int ?==?( _Bool, _Bool ),                                                        ?!=?( _Bool, _Bool );
     275signed int ?==?( char, char ),                                                          ?!=?( char, char );
     276signed int ?==?( signed char, signed char ),                            ?!=?( signed char, signed char );
     277signed int ?==?( unsigned char, unsigned char ),                        ?!=?( unsigned char, unsigned char );
     278signed int ?==?( signed short, signed short ),                          ?!=?( signed short, signed short );
     279signed int ?==?( unsigned short, unsigned short ),                      ?!=?( unsigned short, unsigned short );
    267280signed int ?==?( signed int, signed int ),                                      ?!=?( signed int, signed int );
    268281signed int ?==?( unsigned int, unsigned int ),                                  ?!=?( unsigned int, unsigned int );
Note: See TracChangeset for help on using the changeset viewer.