]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/TTokenizer.cc
* added show/hide cursro methods
[helm.git] / helm / DEVEL / mathml_editor / src / TTokenizer.cc
index 93cadefd7efba5ec1cd6db38e1eb529393c5c0f5..a78b7cc5d6c129d25543ef6c6e993c3235fd9a40 100644 (file)
@@ -7,7 +7,7 @@
 std::vector<TToken>
 TTokenizer::tokenize(const std::string& s)
 {
-  TPushLexer lexer(*this);
+  TPushLexer lexer(logger, *this);
 
   tokens.clear();
   for (std::string::const_iterator p = s.begin();
@@ -24,9 +24,21 @@ TTokenizer::tokenize(const std::string& s)
   return res;
 }
 
+void
+TTokenizer::reset()
+{
+  assert(0);
+}
+
 void
 TTokenizer::push(const TToken& token)
 {
   tokens.push_back(token);
 }
 
+std::string
+TTokenizer::drop()
+{
+  assert(0);
+  return "";
+}