octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44363] segfault when using keyword __FILE__ a


From: Rik
Subject: [Octave-bug-tracker] [bug #44363] segfault when using keyword __FILE__ at top-level
Date: Tue, 24 Feb 2015 18:58:51 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

URL:
  <http://savannah.gnu.org/bugs/?44363>

                 Summary: segfault when using keyword __FILE__ at top-level
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 24 Feb 2015 10:58:49 AM PST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The token __FILE__ is listed as a recognized keyword by the parser from
iskeyword().  However trying it at the top-level in Octave produces a
segfault.


octave:1> __LINE__
ans =  1
octave:2> __FILE__
o-num: parse-tree/token.cc:128: std::string token::text() const: Assertion
`type_tag == string_token' failed.
Abort







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44363>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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