From bb46b4a63a5bfcf6a2c0930f0e03046f385725f9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 19 Aug 2013 17:00:11 +0300 Subject: [PATCH] Don't forget to initialize the control statement flag --- source/statement.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/statement.cpp b/source/statement.cpp index 3b6f716..b1ff058 100644 --- a/source/statement.cpp +++ b/source/statement.cpp @@ -9,12 +9,14 @@ namespace DataFile { Statement::Statement(): valid(false), + control(false), line(0) { } Statement::Statement(const string &kw): keyword(kw), valid(true), + control(!kw.compare(0, 2, "__")), line(0) { } -- 2.43.0