commit | c195f400f44ca6dd271911367746a083e75266d8 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Wed Jun 24 14:44:04 2015 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Thu Jun 25 17:51:01 2015 +0900 |
tree | 6cba009a2b4d17e635920cfdccc98d671a343f47 | |
parent | 87586e55384ff3526525ea5929df23a3a0a27b17 [diff] [blame] |
[C++] Escape line break in orig_rhs for define.mk
diff --git a/ast.cc b/ast.cc index fdcfeb3..68f007e 100644 --- a/ast.cc +++ b/ast.cc
@@ -18,6 +18,7 @@ #include "eval.h" #include "stringprintf.h" +#include "strutil.h" #include "value.h" AST::AST() {} @@ -50,7 +51,7 @@ "opstr=%s dir=%s loc=%s:%d)", lhs->DebugString().c_str(), rhs->DebugString().c_str(), - orig_rhs.as_string().c_str(), + NoLineBreak(orig_rhs.as_string()).c_str(), opstr, dirstr, LOCF(loc())); }