changeset 4406:ad13aac8bb60

(put_entries): For NODE->rewritten, put pattern before \177 and name after, not vice versa.
author Roland McGrath <roland@gnu.org>
date Sun, 01 Aug 1993 22:13:54 +0000
parents 935cc145f0b5
children 5568d8e60c21
files lib-src/etags.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Sun Aug 01 20:50:07 1993 +0000
+++ b/lib-src/etags.c	Sun Aug 01 22:13:54 1993 +0000
@@ -1175,12 +1175,14 @@
       if (node->rewritten)
 	{
 	  fprintf (outf, "%s\177%s\001%d,%d\n",
-		   node->name, node->pat, node->lno, node->cno);
+		   node->pat, node->name,
+		   node->lno, node->cno);
 	}
       else
 	{
 	  fprintf (outf, "%s\177%d,%d\n",
-		   node->pat, node->lno, node->cno);
+		   node->pat,
+		   node->lno, node->cno);
 	}
     }
   else if (!cxref_style)