comparison src/ChangeLog @ 4930:bdb307dc8613

[project @ 2004-08-05 04:55:26 by jwe]
author jwe
date Thu, 05 Aug 2004 04:55:26 +0000
parents 585e9a8c2ef8
children 43f4ebd2704c
comparison
equal deleted inserted replaced
4929:585e9a8c2ef8 4930:bdb307dc8613
1 2004-08-05 John W. Eaton <jwe@octave.org>
2
3 * variables.h (symbol_exist): Default for type is now "any".
4
5 2004-08-05 David Bateman <dbateman@free.fr>
6
7 * ov-fcn-handle.cc (octave_fcn_handle (const std::string&,
8 const string_vector&, const std::string&)): New constructor for inline
9 function handles.
10 (octave_fcn_handle::print_raw): Allow inline functions to be printed.
11 (octave_fcn_handle::convert_to_str_internal): New function to allow
12 Fchar to work on inlined function handles.
13 (Finline, Fformula, Fargnames, Fvectorize): New functions.
14 * ov-fcn-handle.h (octave_fcn_handle (const std::string&,
15 const string_vector&, const std::string&)): Provide decl.
16 (octave_fcn_handle::convert_to_str_internal): Provide decl.
17 (fcn_type): New enum for the type of function handle.
18 (octave_fcn_handle::inline_fcn_text, octave_fcn_handle::is_inline,
19 octave_fcn_handle::inline_fcn_arg_names): New functions.
20 (octave_fcn_handle::typ, octave_fcn_handle::iftext,
21 octave_fcn_handle::ifargs): New private variables for inline functions.
22
23 2004-08-04 John W. Eaton <jwe@octave.org>
24
25 * parse.y (fcn_handle):
26 Recognize '@' FCN_HANDLE rather than just FCN_HANDLE.
27 Decrement lexer_flags.looking_at_function_handle here.
28 * lex.h (lexical_feedback::looking_at_function_handle):
29 New data member.
30 (lexical_feedback::init): Initialize it.
31 * lex.l (handle_identifier): Only reject keywords if we are
32 looking at a function handle.
33 ("@"): Recognize this separately from what follows.
34 Increment lexer_flags.looking_at_function_handle here.
35
36 * ov-fcn-handle.h (octave_fcn_handle::octave_fcn_handle
37 (octave_function*, const std::string)): Delete.
38 * ov.h, ov.cc (octave_value::octave_value (octave_function *)): Delete.
39 (octave_value::octave_value (octave_function *, const std::string)):
40 Delete.
41
42 * ov-fcn-handle.h (octave_fcn_handle::fcn): Now octave_value, not
43 pointer to octave_function.
44 (octave_fcn_handle::octave_fcn_handle (const octave_value&, const
45 std::string)): New constructor.
46 * variables.cc (lookup_function): Return octave_value, not pointer
47 to octave_function. Change all uses.
48 (lookup_user_function): Return octave_value, not pointer
49 to octave_user_function. Change all uses.
50
1 2004-08-03 John W. Eaton <jwe@octave.org> 51 2004-08-03 John W. Eaton <jwe@octave.org>
2 52
3 * ov-usr-fcn.cc (octave_user_fcn::do_multi_index_op): Call 53 * ov-usr-fcn.cc (octave_user_fcn::do_multi_index_op): Call
4 install_automatic_vars here. 54 install_automatic_vars here.
5 (octave_user_fcn::octave_user_fcn): Not here. 55 (octave_user_fcn::octave_user_fcn): Not here.