octave-maintainers
[Top][All Lists]
Advanced

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

New parser and command line functions


From: Rik
Subject: New parser and command line functions
Date: Wed, 13 Mar 2013 09:02:01 -0700

3/13/13

John,

You might want to take a look at the parsing of command line functions.  I
tried this,

octave:1> function y = mysin (x)
> y = sin (x);
> endfunction
�: interpfcn/symtab.h:2039: static void
symbol_table::set_curr_fcn(octave_user_function*, int): Assertion `scope !=
xtop_scope && scope != xglobal_scope' failed.
Abort

and got thrown back to the shell. 

Not that I want to invest the time, but this bug and the previous one with
debugging, could only be caught by an interactive test suite such as one
written with expect.  Our current m-file based strategy doesn't get at these.

--Rik



reply via email to

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