Changeset 640b3df for src/Parser/ExpressionNode.cc
- Timestamp:
- Feb 21, 2023, 4:24:34 PM (3 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ExpressionNode.cc
r1180175 r640b3df 10 10 // Created On : Sat May 16 13:17:07 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 7 09:18:56 202113 // Update Count : 107 712 // Last Modified On : Sat Feb 11 14:49:00 2023 13 // Update Count : 1079 14 14 // 15 15 … … 173 173 if ( posn != string::npos ) { Unsigned = true; type = 2; ltype = 4; str.erase( posn, 1 ); goto FINI; } 174 174 175 posn = str.rfind( "hh" ); // char175 posn = str.rfind( "hh" ); // signed char 176 176 if ( posn != string::npos ) { type = 1; str.erase( posn, 2 ); goto FINI; } 177 177 178 posn = str.rfind( "HH" ); // char178 posn = str.rfind( "HH" ); // signed char 179 179 if ( posn != string::npos ) { type = 1; str.erase( posn, 2 ); goto FINI; } 180 180 … … 592 592 Expression * build_unary_ptr( OperKinds op, ExpressionNode * expr_node ) { 593 593 list< Expression * > args; 594 args.push_back( 594 args.push_back( maybeMoveBuild< Expression >(expr_node) ); // xxx -- this is exactly the same as the val case now, refactor this code. 595 595 return new UntypedExpr( new NameExpr( OperName[ (int)op ] ), args ); 596 596 } // build_unary_ptr
Note:
See TracChangeset
for help on using the changeset viewer.