From e67b812d3567549446fe21ec81a059308705865c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jun 2015 09:41:58 -0700 Subject: [PATCH] CLI2: Removed unused ::isID method --- src/CLI2.cpp | 8 +------- src/CLI2.h | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index dc6b2e9cf..931c7a01f 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -2058,12 +2058,6 @@ bool CLI2::isUUIDList (const std::string& raw) const return false; } -//////////////////////////////////////////////////////////////////////////////// -bool CLI2::isID (const std::string& raw) const -{ - return Lexer::isAllDigits (raw); -} - //////////////////////////////////////////////////////////////////////////////// bool CLI2::isPattern (const std::string& raw) const { @@ -2204,7 +2198,7 @@ bool CLI2::disqualifyOnlyParenOps ( isUUIDList (lexeme.first) || isUUID (lexeme.first) || // obsolete isIDSequence (lexeme.first) || // obsolete - isID (lexeme.first) || + isID (lexeme.first) || // obsolete isPattern (lexeme.first) || isAttribute (lexeme.first)) ++opSugarCount; diff --git a/src/CLI2.h b/src/CLI2.h index 4d43dc0b4..c03879bab 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -133,7 +133,6 @@ private: bool isCommand (const std::string&) const; bool isTag (const std::string&) const; bool isUUIDList (const std::string&) const; - bool isID (const std::string&) const; bool isPattern (const std::string&) const; bool isSubstitution (const std::string&) const; bool isAttribute (const std::string&) const;