Mercurial > octave
comparison src/ChangeLog @ 11220:883b9308353c
allow class function to be called from methods as well as constructors
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 10 Nov 2010 00:54:34 -0500 |
parents | 521373e25613 |
children | ae9d536eadaf |
comparison
equal
deleted
inserted
replaced
11219:29d515b9d30c | 11220:883b9308353c |
---|---|
1 2010-11-10 John W. Eaton <jwe@octave.org> | |
2 | |
3 * ov-fcn.h (octave_base_value::is_class_constructor) | |
4 octave_base_value::is_class_method): New optional character | |
5 string argument. | |
6 * ov-usr-fcn.h (octave_usr_fcn::is_class_constructor) | |
7 octave_usr_fcn::is_class_method): New optional arg. If this | |
8 argument is not empty, also check it against the name of the | |
9 dispatch class. | |
10 * ov-class.cc (Fclass): Allow class function to be called inside | |
11 a class method. Require that the to-be-constructed object is of | |
12 the same class as the class constructor or method. | |
13 | |
1 2010-11-09 John W. Eaton <jwe@octave.org> | 14 2010-11-09 John W. Eaton <jwe@octave.org> |
2 | 15 |
3 * lex.ll (handle_number): Set lexer_flags.looking_for_object_index | 16 * lex.ll (handle_number): Set lexer_flags.looking_for_object_index |
4 to false here. Fixes bug #31608. | 17 to false here. Fixes bug #31608. |
5 | 18 |