Mercurial > octave-nkf
view .hgignore @ 15004:ea6997657614
which: provide source file name for built-in functions
* defun-int.h, defun.cc (install_builtin_function): New arg, FILE.
Pass file to octave_builtin constructor.
* mkbuiltins: Redefine XDEFUN_FILE_NAME to create a local FILE
variable. Pass FILE to install_builtin_function.
* ov-builtin.h (octave_builtin::file): New member variable.
(octave_builtin::octave_builtin): Handle file name.
(octave_builtin::fcn_file_name): New function.
* ov-fcn-handle.cc (octave_fcn_handle::set_fcn): Only attempt to load
functions from .oct, .mex, or .m files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 23 Jul 2012 12:59:44 -0400 |
parents | 95b1c64c287f |
children | 2f2fb099ac3a |
line wrap: on
line source
syntax: regexp # The recurrent (^|/) idiom in the regexps below should be understood # to mean "at any directory" while the ^ idiom means "from the # project's top-level directory". # This one gets created by gnulib during the build, contains no Octave # files. ^gnulib/ # These directories mostly contain cruft during build time, but they # do contain some Octave code. ^libgnu/ ^m4/ # Emacs tools create these (^|/)TAGS$ (^|/)semantic.cache$ (/|^)Makefile\.in$ ^INSTALL$ ^aclocal\.m4 ^build-.*($|/) ^configure$ ^autom4te\.cache($|/) ^config\.h\.in$ # e.g. doc/faq/OctaveFAQ.info # doc/interpreter/octave.info-4 ^doc/.*\.info(-\d)?$ ^doc/\w*/stamp-vti$ ^doc/\w*/version\.texi$ ^doc/interpreter/images\.mk$ # e.g. liboctave/smx-op-inc.mk ^liboctave/[\w-]*\.mk$ ^src/DLD-FUNCTIONS/module\.mk$