Ignore:
Timestamp:
Feb 21, 2023, 4:24:34 PM (3 years ago)
Author:
caparson <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
257a8f5, ce44c5f
Parents:
1180175 (diff), 9a533ba (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
  • src/Parser/ExpressionNode.cc

    r1180175 r640b3df  
    1010// Created On       : Sat May 16 13:17:07 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Aug  7 09:18:56 2021
    13 // Update Count     : 1077
     12// Last Modified On : Sat Feb 11 14:49:00 2023
     13// Update Count     : 1079
    1414//
    1515
     
    173173                if ( posn != string::npos ) { Unsigned = true; type = 2; ltype = 4; str.erase( posn, 1 ); goto FINI; }
    174174
    175                 posn = str.rfind( "hh" );                                               // char
     175                posn = str.rfind( "hh" );                                               // signed char
    176176                if ( posn != string::npos ) { type = 1; str.erase( posn, 2 ); goto FINI; }
    177177
    178                 posn = str.rfind( "HH" );                                               // char
     178                posn = str.rfind( "HH" );                                               // signed char
    179179                if ( posn != string::npos ) { type = 1; str.erase( posn, 2 ); goto FINI; }
    180180
     
    592592Expression * build_unary_ptr( OperKinds op, ExpressionNode * expr_node ) {
    593593        list< Expression * > args;
    594         args.push_back(  maybeMoveBuild< Expression >(expr_node) ); // xxx -- this is exactly the same as the val case now, refactor this code.
     594        args.push_back( maybeMoveBuild< Expression >(expr_node) ); // xxx -- this is exactly the same as the val case now, refactor this code.
    595595        return new UntypedExpr( new NameExpr( OperName[ (int)op ] ), args );
    596596} // build_unary_ptr
Note: See TracChangeset for help on using the changeset viewer.