bugGNU Octave - Bugs: bug #37971, 'clear java' command needed for...

 
 

bug #37971: 'clear java' command needed for compatibility

Submitted by:  Rik <rik5>
Submitted on:  Fri 21 Dec 2012 07:45:14 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 21 Dec 2012 07:45:14 PM UTC, original submission:

This is a bug report just to track this issue and make sure it is not forgotten.

On a quick look, it doesn't look like it would be that difficult to implement. One could loop over objects in the symbol table, call isjava() on them, and delete them or not based on that test. It does look like a fair amount of C++ boilerplate code would be needed to accomplish that (nothing hard, but possibly tedious) as there would be modifying Fclear and adding a do_clear_java routine in variables.cc. In symtab.h you would probably need a clear_java, clear_java_pattern, do_clear_java_pattern, clear_java_regexp, and do_clear_java_regexp routines.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup