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

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

[Octave-bug-tracker] [bug #45092] lexer panic from syntax error in M-fil


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #45092] lexer panic from syntax error in M-file
Date: Wed, 13 May 2015 19:52:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.5.0

Update of bug #45092 (project octave):

                  Status:                   Fixed => Ready For Test         
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #4:

After this C'set the initial problem is solved but now test
ov-fcn-handle.cc-tst fails (fntests.log at the end).

The problem is this example code

functions(@transpose).function


which now fails with

>> functions(@transpose).function
error: structure fields may not be keywords
parse error:

  syntax error

>>> functions(@transpose).function


Reopening bugreport.

fntests.log:

>>>>> processing
/home/andy/src/octave-stable-build/libinterp/octave-value/ov-fcn-handle.cc-tst
***** test
 x = {".**", "power";
      ".'", "transpose";
      ".+", "plus";
      ".-", "minus";
      ".*", "times";
      "./", "rdivide";
      ".^", "power";
      ".\\", "ldivide";
      "<=", "le";
      "==", "eq";
      ">=", "ge";
      "~=", "ne";
      "!=", "ne";
      "**", "mpower";
      "~", "not";
      "!", "not";
      "\'", "ctranspose";
      "+", "plus";
      "-", "minus";
      "*", "mtimes";
      "/", "mrdivide";
      "^", "mpower";
      "\\", "mldivide";
      "<", "lt";
      ">", "gt";
      "&", "and";
      "|", "or"};
 for i = 1:rows (x)
   assert (functions (str2func (x{i,1})).function, x{i,2});
 endfor
!!!!! test failed
structure fields may not be keywords



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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