diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-12-07 14:07:40 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-12-07 14:08:54 +0900 |
| commit | 97d8f1deb62d03e5b8f2c150cb553ce4d4bdf446 (patch) | |
| tree | a7659fbda0435817c167c80b7b34d5153300fac5 /eval.cc | |
| parent | 42ce87c381f6990db9c7ca525d51ff21c052a98d (diff) | |
[C++] Fail for newlines in expanded rule statement
Diffstat (limited to 'eval.cc')
| -rw-r--r-- | eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ void Evaluator::EvalRule(const RuleStmt* stmt) { const string&& expr = stmt->expr->Eval(this); // See semicolon.mk. - if (expr.find_first_not_of(" \t\n;") == string::npos) + if (expr.find_first_not_of(" \t;") == string::npos) return; Rule* rule; |
