mirror of https://github.com/tbklang/tlang.git
Meta
- Do the alias expansion first, then everything else
This commit is contained in:
parent
657fe07b90
commit
9a9dc6d82e
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue