[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59784] additional text at end of block commen
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #59784] additional text at end of block comment produces doubled warning |
Date: |
Wed, 30 Dec 2020 12:13:47 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?59784>
Summary: additional text at end of block comment produces
doubled warning
Project: GNU Octave
Submitted by: rik5
Submitted on: Wed 30 Dec 2020 09:13:45 AM PST
Category: Interpreter
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Other
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
This isn't a big deal, but consider the script below.
#{
comment line
#} disp ('out of block comment');
When the script is run the output from the interpreter is:
warning: block comment open at end of input
warning: near line 4 of file 'dbl_msg_print.m'
warning: block comment open at end of input
warning: near line 4 of file 'dbl_msg_print.m'
I get that the interpreter is unhappy, but it really only needs to print the
message once.
On a second note, I think the warning message could be clearer. Maybe
something like
warning: trailing text after block comment close
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59784>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #59784] additional text at end of block comment produces doubled warning,
Rik <=