Compare commits

...

2 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire c30a514812
Merge 9a9dc6d82e into ce32cfe00d 2024-05-08 15:48:30 +00:00
Tristan B. Velloza Kildaire 9a9dc6d82e Meta
- Do the alias expansion first, then everything else
2024-05-08 17:48:17 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -57,12 +57,12 @@ public class MetaProcessor
{
DEBUG("MetaProcessor: Examining AST node '"~curStmt.toString()~"'...");
// Perform alias expression replacement
doAliasExpression(container, curStmt);
// Perform replacement of all type alises to concrete types, such as `size_t`
doTypeAlias(container, curStmt);
// Perform alias expression replacement (TODO: Should this be here?)
doAliasExpression(container, curStmt);
/**
* Search for any `sizeof(<ident_type>)` expressions
* and replace them with a `NumberLiteral`