summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/master_lexer.cc
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-11-13 14:39:15 +0100
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-11-19 16:54:04 +0100
commit9d2bab2003be39da1ebf2b96ccbbb0af45e42a1e (patch)
treef741f4e6fbac513bdd1aa0943cb43bd5bb7827fd /src/lib/dns/master_lexer.cc
parent[2375] A fake state class (diff)
downloadkea-9d2bab2003be39da1ebf2b96ccbbb0af45e42a1e.tar.xz
kea-9d2bab2003be39da1ebf2b96ccbbb0af45e42a1e.zip
[2375] Tests for simple versions of getToken
No fancy stuff yet, like ungetting tokens, changes of parentheses count, etc. Just the basic stuff.
Diffstat (limited to 'src/lib/dns/master_lexer.cc')
-rw-r--r--src/lib/dns/master_lexer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dns/master_lexer.cc b/src/lib/dns/master_lexer.cc
index dab1bb9214..1f678dd66d 100644
--- a/src/lib/dns/master_lexer.cc
+++ b/src/lib/dns/master_lexer.cc
@@ -163,6 +163,12 @@ MasterLexer::ungetToken() {
// TODO
}
+const State*
+MasterLexer::start() {
+ // TODO
+ return (NULL);
+}
+
namespace {
const char* const error_text[] = {
"lexer not started", // NOT_STARTED