diff libinterp/parse-tree/lex.ll @ 16292:6ce905b89cee

delete unused obsolete code * lex.h, lex.ll (stream_reader): Delete unused class declaration. (cleanup_parser): Delete unused function and declaration. (match_any): Delete unused static function. * toplev.cc (do_octave_atexit): Don't call cleanup_parser.
author John W. Eaton <jwe@octave.org>
date Wed, 13 Mar 2013 02:25:50 -0400
parents 09881dab3aaf
children 57e87ddfee14
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll
+++ b/libinterp/parse-tree/lex.ll
@@ -1291,26 +1291,6 @@
       }
 }
 
-void
-cleanup_parser (void)
-{
-}
-
-// Return 1 if the given character matches any character in the given
-// string.
-
-static bool
-match_any (char c, const char *s)
-{
-  char tmp;
-  while ((tmp = *s++) != '\0')
-    {
-      if (c == tmp)
-        return true;
-    }
-  return false;
-}
-
 bool
 is_keyword (const std::string& s)
 {