]> sourceware.org Git - systemtap.git/commitdiff
PR11207: correctly initialize lexer::saw_tokens.
authorSerguei Makarov <smakarov@redhat.com>
Fri, 27 Jul 2012 19:10:38 +0000 (15:10 -0400)
committerSerguei Makarov <smakarov@redhat.com>
Fri, 27 Jul 2012 19:11:15 +0000 (15:11 -0400)
parse.cxx

index 8254daf4e6783c1303b353e3fe9257f80d2b05ed..8f723fb090084db8a96fc96107f9550ad8d4aa44 100644 (file)
--- a/parse.cxx
+++ b/parse.cxx
@@ -1189,10 +1189,10 @@ parser::peek_kw (std::string const & kw)
 
 
 lexer::lexer (istream& input, const string& in, systemtap_session& s):
-  ate_comment(false), ate_whitespace(false), input_name (in), input_pointer (0),
-  input_end (0), cursor_suspend_count(0), cursor_suspend_line (1),
-  cursor_suspend_column (1), cursor_line (1), cursor_column (1),
-  session(s), current_file (0)
+  ate_comment(false), ate_whitespace(false), saw_tokens(false),
+  input_name (in), input_pointer (0), input_end (0), cursor_suspend_count(0),
+  cursor_suspend_line (1), cursor_suspend_column (1), cursor_line (1),
+  cursor_column (1), session(s), current_file (0)
 {
   getline(input, input_contents, '\0');
 
This page took 0.033987 seconds and 5 git commands to generate.