diff options
| author | gingerBill <bill@gingerbill.org> | 2021-07-12 16:45:54 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-07-12 16:45:54 +0100 |
| commit | 3930a32b0c1fd16f8fda862248c6abbbe47c747d (patch) | |
| tree | d0db6b6ddaf3afc52d90452d26db89b55d75263e /src/parser.hpp | |
| parent | 76707e1d2f3a33bc5dabf367318ccd76ce242b6a (diff) | |
`enum Addressing_Mode : u8;`
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index b14e336c3..390bfbba2 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -6,7 +6,7 @@ struct DeclInfo; struct AstFile; struct AstPackage; -enum AddressingMode { +enum AddressingMode : u8 { Addressing_Invalid = 0, // invalid addressing mode Addressing_NoValue = 1, // no value (void in C) Addressing_Value = 2, // computed value (rvalue) @@ -29,6 +29,7 @@ enum AddressingMode { struct TypeAndValue { AddressingMode mode; + bool is_lhs; // Debug info Type * type; ExactValue value; }; |