|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #36475] classdef: parsing fails if :end syntax is used |
| Date: | Wed, 16 May 2012 20:33:54 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 |
Follow-up Comment #1, bug #36475 (project octave):
Your patch changes
if (! reading_classdef_file
&& (inside_any_object_index ()
|| (lexer_flags.defining_func
&& ! (lexer_flags.looking_at_return_list
|| lexer_flags.parsed_function_name.top ()))))
to
if (! reading_classdef_file
&& (inside_any_object_index ()
|| (lexer_flags.defining_func
&& ! (lexer_flags.looking_at_return_list
|| lexer_flags.parsed_function_name.top ()))))
if (reading_classdef_file && inside_any_object_index ())
return 0;
Isn't that equivalent to
if (inside_any_object_index ()
|| (! reading_classdef_file
&& (lexer_flags.defining_func
&& ! (lexer_flags.looking_at_return_list
|| lexer_flags.parsed_function_name.top ())))
return 0;
?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36475>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |