changeset 29368:30afb3804d6e

Use clearer warning message when block comment is unterminated at EOF (bug #59874). * lex.ll: Change warning message to be slightly clearer when a block comment is still open but end of input is reached.
author Rik <rik@octave.org>
date Sat, 13 Feb 2021 13:59:49 -0800
parents 8608b7e50720
children c75996cbe3ba
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Sat Feb 13 11:48:09 2021 -0800
+++ b/libinterp/parse-tree/lex.ll	Sat Feb 13 13:59:49 2021 -0800
@@ -2530,7 +2530,7 @@
 
     if (m_block_comment_nesting_level != 0)
       {
-        warning ("block comment open at end of input");
+        warning ("block comment unterminated at end of input");
 
         if ((m_reading_fcn_file || m_reading_script_file || m_reading_classdef_file)
             && ! m_fcn_file_name.empty ())