patchGNU Octave - Patches: patch #7889, Adding errror_ids.m

 
 

patch #7889: Adding errror_ids.m

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Mon 19 Nov 2012 11:30:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 30 Nov 2012 03:58:08 PM UTC, comment #3: 

Furthermore, you might want to follow up with a patch that mentions this in the documentation.

We really should figure out a way for error_ids to be registered automatically so that their documentation doesn't have to be separately maintained in a m-script that is likely to be forgotten.

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Fri 30 Nov 2012 03:55:27 PM UTC, comment #2: 

Thanks, I rebased it and applied it:

http://hg.savannah.gnu.org/hgweb/octave/rev/1407aac91bee

You might want to get rid of your local copy with "hg strip -r 625f53ebae26c"

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Fri 30 Nov 2012 01:28:42 AM UTC, comment #1: 

READY TO APPLY

Júlio Hoffimann Mendes <juliohm>
Mon 19 Nov 2012 11:30:45 PM UTC, original submission:  


This function is identical to warning_ids.m but it enumerates and explains error ids.

It attempts to establish a standard for error ids.

I added the error ids, that I found with

grep -r --include="*.m" error\ \(\"Octave: .

I can include the ones found with

grep -r --include="*.cc" error_with_id\ \(\"Octave: .

that accounts for

Octave:undefined-function
Octave:bad-alloc

Thank you for applying the patch.

JPi


Juan Pablo Carbajal <juanpi>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26939:  changeset_errorids added by juanpi (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by juliohm (Posted a comment)
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-30 jordigh StatusNone Done
        Open/ClosedOpen Closed
    2012-11-19 juanpi Attached File- Added changeset_errorids, #26939

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code