Mercurial > octave-nkf
comparison src/variables.h @ 8746:5dd06f19e9be
handle commands in the lexer
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 15 Feb 2009 23:49:15 -0500 |
parents | 8c32f95c2639 |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8745:6dc61981d18b | 8746:5dd06f19e9be |
---|---|
41 #include "ov.h" | 41 #include "ov.h" |
42 #include "ov-builtin.h" | 42 #include "ov-builtin.h" |
43 #include "symtab.h" | 43 #include "symtab.h" |
44 | 44 |
45 extern OCTINTERP_API void clear_mex_functions (void); | 45 extern OCTINTERP_API void clear_mex_functions (void); |
46 | |
47 extern OCTINTERP_API void mark_as_command (const std::string&); | |
48 extern OCTINTERP_API bool is_command_name (const std::string&); | |
49 | |
50 // The next three are here temporarily... | |
51 extern OCTINTERP_API bool is_marked_as_rawcommand (const std::string& s); | |
52 extern OCTINTERP_API void mark_as_rawcommand (const std::string& s); | |
53 extern OCTINTERP_API void unmark_rawcommand (const std::string& s); | |
54 | |
55 extern OCTINTERP_API bool is_rawcommand_name (const std::string&); | |
56 | 46 |
57 extern OCTINTERP_API octave_function * | 47 extern OCTINTERP_API octave_function * |
58 is_valid_function (const octave_value&, const std::string& = std::string (), | 48 is_valid_function (const octave_value&, const std::string& = std::string (), |
59 bool warn = false); | 49 bool warn = false); |
60 | 50 |