diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-16 16:45:00 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-20 21:32:02 -0700 |
commit | 3cfdc6d1269df5c5e198dea88a851682e9d09133 (patch) | |
tree | 2c94b9faa650ddcb79c674266be9208dbb6b05c7 /exec.cpp | |
parent | 8ec73b2dd40bf95d2b665cfb4cc22c26a2717cae (diff) |
Fix line number reporting in new parser
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1430,8 +1430,7 @@ void exec_job(parser_t &parser, job_t *j) if (g_log_forks) { const wchar_t *file = reader_current_filename(); - const wchar_t *func = parser_t::principal_parser().is_function(); - printf("fork #%d: forking for '%s' in '%ls:%ls'\n", g_fork_count, actual_cmd, file ? file : L"", func ? func : L"?"); + printf("fork #%d: forking for '%s' in '%ls'\n", g_fork_count, actual_cmd, file ? file : L""); fprintf(stderr, "IO chain for %s:\n", actual_cmd); io_print(process_net_io_chain); |