diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-08 21:09:57 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-10 07:15:25 +0800 |
commit | 57c24511308f9cd1f981e92aacfb880825eb6ed9 (patch) | |
tree | f027135713c992ad08d27c5fc0e759f4b8fc2af3 /libsolidity/ast/ASTAnnotations.h | |
parent | 690ed37fd4b90119ac69def3e308035d46af0c60 (diff) | |
download | dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.gz dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.bz2 dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.lz dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.xz dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.tar.zst dexon-solidity-57c24511308f9cd1f981e92aacfb880825eb6ed9.zip |
Introduce ExperimentalFeatures header
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r-- | libsolidity/ast/ASTAnnotations.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h index 083ecfa4..fd9efb4d 100644 --- a/libsolidity/ast/ASTAnnotations.h +++ b/libsolidity/ast/ASTAnnotations.h @@ -23,6 +23,7 @@ #pragma once #include <libsolidity/ast/ASTForward.h> +#include <libsolidity/ast/ExperimentalFeatures.h> #include <map> #include <memory> @@ -61,8 +62,8 @@ struct SourceUnitAnnotation: ASTAnnotation std::string path; /// The exported symbols (all global symbols). std::map<ASTString, std::vector<Declaration const*>> exportedSymbols; - /// Experimental feature pragmas. - std::set<ASTString> experimentalFeatures; + /// Experimental features. + std::set<ExperimentalFeature> experimentalFeatures; }; struct ImportAnnotation: ASTAnnotation |