From: Eli Zaretskii Date: Mon, 11 Sep 2017 16:44:38 +0000 (+0300) Subject: Another place to produce debugging output in etags X-Git-Tag: emacs-26.0.90~189 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7fb03a28e74adff00154e5e144d0c9e8b4bab8ab;p=emacs.git Another place to produce debugging output in etags * lib-src/etags.c (Ruby_functions): One more place to print debugging output under --debug. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index df51c0b4f82..b4ce43de4f6 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -4974,6 +4974,9 @@ Ruby_functions (FILE *inf) memcpy (wr_name + name_len - 1, "=", 2); pfnote (wr_name, true, lb.buffer, cp - lb.buffer + 1, lineno, linecharno); + if (debug) + fprintf (stderr, "%s on %s:%d: %s\n", wr_name, + curfdp->taggedfname, lineno, lb.buffer); continuation = false; } if (alias)