Changes in src/Parser/ExpressionNode.cc [c36298d:3d8d7a7]
- File:
-
- 1 edited
-
src/Parser/ExpressionNode.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ExpressionNode.cc
rc36298d r3d8d7a7 357 357 new ConstantExpr( Constant::from_ulong( str.size() + 1 - 2 ) ), // +1 for '\0' and -2 for '"' 358 358 false, false ); 359 Expression * ret = new ConstantExpr( Constant( at, str, std::nullopt ) );359 Expression * ret = new ConstantExpr( Constant( at, str, (unsigned long long int)0 ) ); // constant 0 is ignored for pure string value 360 360 if ( units.length() != 0 ) { 361 361 ret = new UntypedExpr( new NameExpr( units ), { ret } );
Note:
See TracChangeset
for help on using the changeset viewer.