emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7fb03a2: Another place to produce debugging output


From: Eli Zaretskii
Subject: [Emacs-diffs] master 7fb03a2: Another place to produce debugging output in etags
Date: Mon, 11 Sep 2017 12:45:19 -0400 (EDT)

branch: master
commit 7fb03a28e74adff00154e5e144d0c9e8b4bab8ab
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Another place to produce debugging output in etags
    
    * lib-src/etags.c (Ruby_functions): One more place to print
    debugging output under --debug.
---
 lib-src/etags.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib-src/etags.c b/lib-src/etags.c
index df51c0b..b4ce43d 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]