diff src/load-save.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 22462fd58e66
children eb63fbe60fab
line wrap: on
line diff
--- a/src/load-save.cc
+++ b/src/load-save.cc
@@ -542,7 +542,7 @@
 not linked with the HDF5 library."
 #endif /* ! HAVE HDF5 */
 
-DEFCMD (load, args, nargout,
+DEFUN (load, args, nargout,
   "-*- texinfo -*-\n\
 @deffn {Command} load options file v1 v2 @dots{}\n\
 Load the named variables @var{v1}, @var{v2}, @dots{}, from the file\n\
@@ -1446,7 +1446,7 @@
 the zlib library."
 #endif /* ! HAVE ZLIB */
 
-DEFCMD (save, args, ,
+DEFUN (save, args, ,
   "-*- texinfo -*-\n\
 @deffn {Command} save options file @var{v1} @var{v2} @dots{}\n\
 @deffnx {Command} save options file -struct @var{STR} @var{f1} @var{f2} @dots{}\n\