diff options
author | Jose <jose@zeroc.com> | 2016-11-21 11:04:49 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-11-21 11:04:49 +0100 |
commit | 4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac (patch) | |
tree | 099a1658c0d45cb0e51125cbd4b1c98426cd3811 /cpp/src/Slice/Parser.h | |
parent | Windows build instructions updates (diff) | |
download | ice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.tar.bz2 ice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.tar.xz ice-4311f1c3e71aaf8be3061dfb59cd3319c85ef0ac.zip |
Fix ICE-743 - Eliminate FeatureProfile in slice compilers
Diffstat (limited to 'cpp/src/Slice/Parser.h')
-rw-r--r-- | cpp/src/Slice/Parser.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/src/Slice/Parser.h b/cpp/src/Slice/Parser.h index 5e7a680bc08..38be6b6c7bc 100644 --- a/cpp/src/Slice/Parser.h +++ b/cpp/src/Slice/Parser.h @@ -50,12 +50,6 @@ const IceUtil::Int64 Int16Min = -Int16Max - 1; const IceUtil::Int64 ByteMax = 0xff; const IceUtil::Int64 ByteMin = 0x00; -enum FeatureProfile -{ - Ice, - IceE -}; - enum NodeType { Dummy, @@ -1053,8 +1047,6 @@ public: bool usesNonLocals() const; bool usesConsts() const; - FeatureProfile profile() const; - // // Returns the path names of the files included directly by the top-level file. // @@ -1065,7 +1057,7 @@ public: // StringList allFiles() const; - int parse(const std::string&, FILE*, bool, FeatureProfile profile = Ice); + int parse(const std::string&, FILE*, bool); virtual void destroy(); virtual void visit(ParserVisitor*, bool); @@ -1097,7 +1089,6 @@ private: std::stack<ContainerPtr> _containerStack; std::map<Builtin::Kind, BuiltinPtr> _builtins; std::map<std::string, ContainedList> _contentMap; - FeatureProfile _featureProfile; std::map<std::string, DefinitionContextPtr> _definitionContextMap; std::map<int, std::string> _typeIds; std::map< std::string, std::set<std::string> > _fileTopLevelModules; |