octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60621] unclear error message in case of missi


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #60621] unclear error message in case of missing final semicolon in 'plot' command argument
Date: Wed, 11 Aug 2021 21:19:23 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Follow-up Comment #1, bug #60621 (project octave):

so that format is supposed to designate a name for the plot. 

looking in __pltopt__.m that parses the plot codes, line 197 starts the part
that should look for the second ; and produce an error:

error ("%s: unfinished key label", caller);

but only if err_on_invalid is set. that doesn't get set, so it sets 'default
plot options', issues a return, and then calls:

 error ("%s: properties must appear followed by a value", caller);

instead.

the err_on_invalid flag is set in the call to __pltopt__, and it's set as
false.  so I don't see how that error could ever get issued.  

hmmm...

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60621>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]