make debug logging a bit more verbose by showing people what is being parsed

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1891 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 58c99e942f
commit 642c7e42e0

@ -7,6 +7,8 @@
* src/global/parse.c (urj_parse_stream): Do not call "quit" when we hit the
end of a stream. Simply return success so we can handle nested cases.
* src/global/parse.c (urj_parse_line): Include the line when debugging.
2011-02-21 Mike Frysinger <vapier@gentoo.org>
* data/Makefile.am (nobase_dist_pkgdata_DATA): Add missing analog/bfin/bfin.

@ -163,7 +163,8 @@ urj_parse_line (urj_chain_t *chain, const char *line)
return r;
r = urj_cmd_run (chain, a);
urj_log (URJ_LOG_LEVEL_DEBUG, "Return in urj_parse_line r=%d\n", r);
urj_log (URJ_LOG_LEVEL_DEBUG, "Return in urj_parse_line r=%d line={%s}\n",
r, line);
urj_tokens_free (a);

Loading…
Cancel
Save