diff src/lex.h @ 11515:6dbf9bcce90e

more data member initialization fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 10:00:13 -0500
parents 21b5284fa78d
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/lex.h	Thu Jan 13 08:04:23 2011 -0500
+++ b/src/lex.h	Thu Jan 13 10:00:13 2011 -0500
@@ -57,7 +57,20 @@
 {
 public:
 
-  lexical_feedback (void) { init (); }
+  lexical_feedback (void)
+    : bracketflag (0), braceflag (0), looping (0),
+      convert_spaces_to_comma (true), at_beginning_of_statement (true),
+      defining_func (0), looking_at_function_handle (false),
+      looking_at_return_list (false), looking_at_parameter_list (false),
+      looking_at_decl_list (false), looking_at_initializer_expression (false),
+      looking_at_matrix_or_assign_lhs (false), looking_at_object_index (),
+      looking_for_object_index (false), looking_at_indirect_ref (false),
+      parsed_function_name (), parsing_class_method (false),
+      maybe_classdef_get_set_method (false), parsing_classdef (false),
+      quote_is_transpose (false), pending_local_variables ()
+    {
+      init ();
+    }
 
   ~lexical_feedback (void) { }