[Top][All Lists]

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

[Octave-bug-tracker] [bug #62587] __FILE__ crashes the interpreter

From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #62587] __FILE__ crashes the interpreter
Date: Sun, 5 Jun 2022 16:48:34 -0400 (EDT)

Follow-up Comment #2, bug #62587 (project octave):

Same thing happens with __LINE__. Even though it doesn't make sense with
fileparts, it should at least give an error without crashing.

On 6.4.0:

octave:1> [a,b,c] = fileparts(__LINE__)
error: fileparts: FILENAME must be a single string
error: called from
    fileparts at line 42 column 5

On 7.1.0:

octave:1> [a,b,c] = fileparts (__LINE__)
panic: impossible state reached in file
'/home/jwe/src/octave-stable/libinterp/parse-tree/oct-parse.yy' at line 2878
fatal: caught signal Aborted -- stopping myself...
Aborted (core dumped)


Reply to this item at:


Message sent via Savannah

reply via email to

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