Skip to content
Snippets Groups Projects
Commit 6ddb7d86 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: allow comments in parallel config file. closes #1194

parent 9292389e
No related branches found
No related tags found
No related merge requests found
/*
* Copyright (C) 2010-2015 Dynare Team
* Copyright (C) 2010-2016 Dynare Team
*
* This file is part of Dynare.
*
......@@ -175,7 +175,7 @@ ConfigFile::getConfigFileInfo(const string &config_file)
string line;
getline(*configFile, line);
trim(line);
if (line.empty())
if (line.empty() || !line.compare(0, 1, "#"))
continue;
if (!line.compare("[node]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment