# HG changeset patch # User John W. Eaton # Date 1668833441 18000 # Node ID ef7418c5df8a991f2593eb2519f3fb5c4eb9ba30 # Parent ef9c804676b959ce72c20165ccd4d45770894e88 eliminate unused function * lex.h, lex.ll (base_lexer::warn_single_quote_string): Delete unused function. diff -r ef9c804676b9 -r ef7418c5df8a libinterp/parse-tree/lex.h --- a/libinterp/parse-tree/lex.h Fri Nov 18 23:49:32 2022 -0500 +++ b/libinterp/parse-tree/lex.h Fri Nov 18 23:50:41 2022 -0500 @@ -681,8 +681,6 @@ void maybe_warn_separator_insert (char sep); - void warn_single_quote_string (void); - void warn_language_extension (const std::string& msg); void maybe_warn_language_extension_comment (char c); diff -r ef9c804676b9 -r ef7418c5df8a libinterp/parse-tree/lex.ll --- 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;