summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/master_lexer.h
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2012-11-06 04:17:25 +0100
committerJINMEI Tatuya <jinmei@isc.org>2012-11-06 04:17:25 +0100
commit6e50ccbf961a340686ed9a6cc4011a7d9a867ccb (patch)
treee3085edef8f8745f44dde4ec26375be93283bf8c /src/lib/dns/master_lexer.h
parent[2372] handle crlf class (diff)
downloadkea-6e50ccbf961a340686ed9a6cc4011a7d9a867ccb.tar.xz
kea-6e50ccbf961a340686ed9a6cc4011a7d9a867ccb.zip
[2372] simplification: we actually don't need END_OF_LINE option.
it can be completely local in Start::handle().
Diffstat (limited to 'src/lib/dns/master_lexer.h')
-rw-r--r--src/lib/dns/master_lexer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/dns/master_lexer.h b/src/lib/dns/master_lexer.h
index ee0831aadc..48ba9197cb 100644
--- a/src/lib/dns/master_lexer.h
+++ b/src/lib/dns/master_lexer.h
@@ -54,9 +54,7 @@ public:
NONE = 0, //< No option
INITIAL_WS = 1, ///< recognize begin-of-line spaces
QSTRING = INITIAL_WS << 1, ///< recognize quoted string
- NUMBER = QSTRING << 1, ///< recognize numeric text as integer
- END_OF_LINE = NUMBER << 1 ///< recognize end of line as a token
- /// (not user-settable)
+ NUMBER = QSTRING << 1 ///< recognize numeric text as integer
};
/// \brief The constructor.