diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-09-11 19:44:38 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-09-11 19:44:38 +0300 |
commit | 7fb03a28e74adff00154e5e144d0c9e8b4bab8ab (patch) | |
tree | 8204175f16ee8594ee6aa0e91f1c0afab55af383 /lib-src | |
parent | e33234ab9f387f56b3479359371c7d14d4f9e810 (diff) | |
download | emacs-7fb03a28e74adff00154e5e144d0c9e8b4bab8ab.tar.gz emacs-7fb03a28e74adff00154e5e144d0c9e8b4bab8ab.tar.bz2 emacs-7fb03a28e74adff00154e5e144d0c9e8b4bab8ab.zip |
Another place to produce debugging output in etags
* lib-src/etags.c (Ruby_functions): One more place to print
debugging output under --debug.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/etags.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |