diff options
author | colincross <github@colincross.com> | 2018-11-12 22:06:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 22:06:15 -0800 |
commit | 271d041394ac21d8eda6a0a6a66b27531ec9bbb8 (patch) | |
tree | f350a0dac310b0eb9841cc630014c0c8e2fc1c90 | |
parent | 7e8ed7f781f22f94a31fa13c77feb9b0991b6eba (diff) | |
parent | 9a73c8895f120677e36677e0050bc7a3507ded1e (diff) | |
download | kati-271d041394ac21d8eda6a0a6a66b27531ec9bbb8.tar.gz |
Merge pull request #161 from colincross/implicit_outputs_segfault
Fix segfault when reporting implicit outputs error
-rw-r--r-- | dep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ struct RuleMerger { "*** implicit output `%s' of `%s' was already defined by `%s' " "at %s:%d", output.c_str(), p.c_str(), parent_sym.c_str(), - parent->primary_rule->cmd_loc()); + LOCF(parent->primary_rule->cmd_loc())); } if (primary_rule) { ERROR_LOC(primary_rule->cmd_loc(), |