diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-09 07:10:22 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-10 06:41:46 +0800 |
commit | fbcc5f4ee5bd629474047531f76beaa19c62972b (patch) | |
tree | c98f5c73268666cd2ca1117162a34eb7b3d00e0d /libsolidity/ast | |
parent | 279e64ae75c5615ca3fc7570a3d533270e43caac (diff) | |
download | dexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.tar.gz dexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.tar.zst dexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.zip |
Support experimental feature pragma
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/ASTAnnotations.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h index f757f03c..083ecfa4 100644 --- a/libsolidity/ast/ASTAnnotations.h +++ b/libsolidity/ast/ASTAnnotations.h @@ -61,6 +61,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; }; struct ImportAnnotation: ASTAnnotation |