diff src/load-path.cc @ 8746:5dd06f19e9be

handle commands in the lexer
author John W. Eaton <jwe@octave.org>
date Sun, 15 Feb 2009 23:49:15 -0500
parents 236ff50db90f
children 7d48766c21a5
line wrap: on
line diff
--- a/src/load-path.cc
+++ b/src/load-path.cc
@@ -1897,7 +1897,7 @@
   return retval;
 }
 
-DEFCMD (addpath, args, nargout,
+DEFUN (addpath, args, nargout,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} addpath (@var{dir1}, @dots{})\n\
 @deftypefnx {Built-in Function} {} addpath (@var{dir1}, @dots{}, @var{option})\n\
@@ -1993,7 +1993,7 @@
   return retval;
 }
 
-DEFCMD (rmpath, args, nargout,
+DEFUN (rmpath, args, nargout,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} rmpath (@var{dir1}, @dots{})\n\
 Remove @var{dir1}, @dots{} from the current function search path.\n\