Skip to content

Commit

Permalink
preprocessor: Don't indent the immediate location of a preprocessor e…
Browse files Browse the repository at this point in the history
…rror

Reverts the second portion of 95bcf34
in a way (we still want it on a new line) for consistency with commit
996b31d.
  • Loading branch information
irydacea committed Feb 16, 2014
1 parent 996b31d commit f29d8cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/serialization/preprocessor.cpp
Expand Up @@ -351,7 +351,8 @@ void preprocessor_streambuf::error(const std::string& error_type, int l)
std::ostringstream pos;
pos << l << ' ' << location_;
position = lineno_string(pos.str());
error = error_type + preprocessor_error_detail_prefix + "at " + position;
error = error_type + '\n';
error += "at " + position;
ERR_CF << error << '\n';
throw preproc_config::error(error);
}
Expand Down

0 comments on commit f29d8cf

Please sign in to comment.