Changeset 59fdd0d
- Timestamp:
- Feb 3, 2025, 1:26:21 PM (7 months ago)
- Branches:
- master
- Children:
- 7959e56
- Parents:
- 54f70c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/GenType.cpp
r54f70c6 r59fdd0d 268 268 void GenType::postvisit( ast::ZeroType const * type ) { 269 269 // Ideally these wouldn't hit codegen at all, but should be safe to make them ints. 270 result = ( options.pretty ? "zero_t " : "long int ") + result;270 result = ( options.genC ? "long int /*zero_t*/ " : "zero_t " ) + result; 271 271 handleQualifiers( type ); 272 272 } … … 274 274 void GenType::postvisit( ast::OneType const * type ) { 275 275 // Ideally these wouldn't hit codegen at all, but should be safe to make them ints. 276 result = ( options.pretty ? "one_t " : "long int ") + result;276 result = ( options.genC ? "long int /*one_t*/ " : "one_t " ) + result; 277 277 handleQualifiers( type ); 278 278 }
Note:
See TracChangeset
for help on using the changeset viewer.