aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTAnnotations.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-09 07:10:22 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-10 06:41:46 +0800
commitfbcc5f4ee5bd629474047531f76beaa19c62972b (patch)
treec98f5c73268666cd2ca1117162a34eb7b3d00e0d /libsolidity/ast/ASTAnnotations.h
parent279e64ae75c5615ca3fc7570a3d533270e43caac (diff)
downloaddexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.tar.gz
dexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.tar.zst
dexon-solidity-fbcc5f4ee5bd629474047531f76beaa19c62972b.zip
Support experimental feature pragma
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r--libsolidity/ast/ASTAnnotations.h2
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