diff options
| author | hachem <im@hachem.wtf> | 2026-08-30 22:42:20 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-30 22:42:20 +0200 |
| commit | 81799f3e41ad9cab305930b7743a752003ff16ec (patch) | |
| tree | 20fd67914ac143ab97a00392abcf5817ba11db22 /src/parser/ast.h | |
| parent | 294777178f9203283364f3e672569becb4dd1e7c (diff) | |
feat: sized memory stores bia ^
Diffstat (limited to 'src/parser/ast.h')
| -rw-r--r-- | src/parser/ast.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/parser/ast.h b/src/parser/ast.h index 8281085..6071c4a 100644 --- a/src/parser/ast.h +++ b/src/parser/ast.h @@ -59,6 +59,15 @@ struct Expr }; }; +enum StoreSize +{ + STORE_SIZE_NONE, + STORE_SIZE_BYTE, + STORE_SIZE_WORD, + STORE_SIZE_DWORD, + STORE_SIZE_QWORD, +}; + enum StatementKind { STATEMENT_ASSIGN, @@ -73,6 +82,7 @@ enum StatementKind struct AssignStatement { bool target_deref; + enum StoreSize store_size; struct Token target; struct Token op; struct Expr* value; |
