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

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

[Octave-bug-tracker] [bug #47874] error/warning fail when only argument


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47874] error/warning fail when only argument looks like an error/warning ID
Date: Sun, 8 May 2016 15:45:27 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #47874 (project octave):

                Severity:              3 - Normal => 2 - Minor              
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Need Info              
                 Release:                   4.0.2 => dev                    
        Operating System:               GNU/Linux => Any                    
                 Summary: error() fails when string contains a colon  =>
error/warning fail when only argument looks like an error/warning ID

    _______________________________________________________

Follow-up Comment #2:

Confirmed here, but not sure what the right behavior should be.

Do you have Matlab to test what it does in this scenario? The error/warning ID
parsing is meant to be Matlab compatible.

Also note that you can easily work around this by including spaces or other
characters that are forbidden in an error/warning identifier.

It could be argued that calling error or warning with a string that is
actually meant to be an identifier and missing the message is an error, which
is what is reported now.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47874>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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