|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #44036] interpreter does not recognize classdef (syntax error) |
Date: | Sun, 18 Jan 2015 17:42:29 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Follow-up Comment #1, bug #44036 (project octave): I don't think this is expected to work. Do you want a better error message that says that classdef objects must be defined in files? Looking at oct-parse.in.yy, I see: classdef_beg : CLASSDEF { if (! lexer.reading_classdef_file) { parser.bison_error ("classdef must appear inside a file containing only a class definition"); YYABORT; } lexer.parsing_classdef = true; $$ = $1; } ; I guess this message is somehow not being triggered for your example. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44036> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |