Commit f1f39b5f authored by michel's avatar michel
Browse files

preprocessor: opening file in binary mode solves mysterious bug with CR LF...

preprocessor: opening file in binary mode solves mysterious bug with CR LF terminated lines under Cygwin


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1700 ac1d8469-bf42-47a9-8791-bf33cf982152
parent b9441c88
......@@ -35,7 +35,7 @@ MacroDriver::parse(const string &f, ostream &out)
{
file = f;
ifstream in(f.c_str());
ifstream in(f.c_str(),ifstream::binary);
lexer = new MacroFlex(&in, &out);
lexer->set_debug(trace_scanning);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment