diff src/error.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 fa78cb8d8a5c
children eb63fbe60fab
line wrap: on
line diff
--- a/src/error.cc	Sun Feb 15 16:31:16 2009 -0500
+++ b/src/error.cc	Sun Feb 15 23:49:15 2009 -0500
@@ -1033,7 +1033,7 @@
   return retval;
 }
 
-DEFCMD (warning, args, nargout,
+DEFUN (warning, args, nargout,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} warning (@var{template}, @dots{})\n\
 @deftypefnx {Built-in Function} {} warning (@var{id}, @var{template}, @dots{})\n\