"pkg prefix" is noisy

Thomas Weber thomas.weber.mail at gmail.com
Wed Apr 2 15:25:25 CDT 2008


On 02/04/08 13:05 -0400, John W. Eaton wrote:
> On  2-Apr-2008, Thomas Weber wrote:
> 
> | I spent some time looking through my code for a
> | forgotten semicolon, until I understood that this comes from pkg.m
> | itself. 
> 
> You can set
> 
>   warning on Octave:missing-semicolon
> 
> to find these.  

Thanks, I didn't know this.

> Unfortunately, this warning is issued when a function
> is parsed.  I'm not sure whether the pkg.m code is parsed and executed
> before or after the octaverc files.  Hmm.  Should there be some other
> way to set warning flags before any other code is evaluated?

I don't think that's necessary. 

	Thomas


More information about the Octave-maintainers mailing list