diff options
author | John Hodge <tpg@mutabah.net> | 2018-07-29 12:47:44 +0100 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-07-29 12:47:44 +0100 |
commit | c971a6fa8375598ecf9c99ee6b086e8cf957f568 (patch) | |
tree | f7f431cbac52e6b25d311bedd503b6584c51bd37 /src/ast/ast.hpp | |
parent | 5d4bf9e96d795623f1b32b2f1f2e57c4f74419fe (diff) | |
download | mrust-c971a6fa8375598ecf9c99ee6b086e8cf957f568.tar.gz |
All - Initial work on supporting 1.29 as a target version
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index 0a43cc71..19f0c66b 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -8,6 +8,9 @@ #ifndef AST_HPP_INCLUDED #define AST_HPP_INCLUDED +#define TARGETVER_1_19 true +#define TARGETVER_1_29 true + #include <string> #include <vector> #include <stdexcept> @@ -44,6 +47,8 @@ enum eItemType { ITEM_TRAIT, ITEM_STRUCT, + ITEM_ENUM, + ITEM_UNION, ITEM_FN, ITEM_STATIC, }; |