]> git.eshelyaron.com Git - emacs.git/commitdiff
Another place to produce debugging output in etags
authorEli Zaretskii <eliz@gnu.org>
Mon, 11 Sep 2017 16:44:38 +0000 (19:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 11 Sep 2017 16:44:38 +0000 (19:44 +0300)
* lib-src/etags.c (Ruby_functions): One more place to print
debugging output under --debug.

lib-src/etags.c

index df51c0b4f82f0b0c734bebccac968f86e4e3fb1b..b4ce43de4f6914cbb49f71ebec36a7c5f6933c9a 100644 (file)
@@ -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)