diff src/lex.h @ 8701:1652e39b934e

handle command names in declaration lists
author John W. Eaton <jwe@octave.org>
date Mon, 09 Feb 2009 12:23:12 -0500
parents ff9e7873f8ea
children 6dc61981d18b
line wrap: on
line diff
--- a/src/lex.h
+++ b/src/lex.h
@@ -92,6 +92,10 @@
   // TRUE means we're parsing the parameter list for a function.
   bool looking_at_parameter_list;
 
+  // TRUE means we're parsing a declaration list (global or
+  // persistent).
+  bool looking_at_decl_list;
+
   // TRUE means we are looking at the initializer expression for a
   // parameter list element.
   bool looking_at_initializer_expression;