diff libinterp/parse-tree/lex.ll @ 31479:ef7418c5df8a stable

eliminate unused function * lex.h, lex.ll (base_lexer::warn_single_quote_string): Delete unused function.
author John W. Eaton <jwe@octave.org>
date Fri, 18 Nov 2022 23:50:41 -0500
parents ef9c804676b9
children cfa938be2999 e88a07dec498
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Fri Nov 18 23:49:32 2022 -0500
+++ b/libinterp/parse-tree/lex.ll	Fri Nov 18 23:50:41 2022 -0500
@@ -3618,21 +3618,6 @@
   }
 
   void
-  base_lexer::warn_single_quote_string (void)
-  {
-    std::string nm = m_fcn_file_full_name;
-
-    if (nm.empty ())
-      warning_with_id ("Octave:single-quote-string",
-                       "single quote delimited string near line %d",
-                       m_filepos.line ());
-    else
-      warning_with_id ("Octave:single-quote-string",
-                       "single quote delimited string near line %d of file %s",
-                       m_filepos.line (), nm.c_str ());
-  }
-
-  void
   base_lexer::warn_language_extension (const std::string& msg)
   {
     std::string nm = m_fcn_file_full_name;