summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-08-01 22:13:54 +0000
committerRoland McGrath <roland@gnu.org>1993-08-01 22:13:54 +0000
commitcc6d6e586dfe8aff9771ab75c2d214cb3335933c (patch)
tree1d4d3dc5a7fc70ada83032177f365ccd7eda5919 /lib-src
parentc5eeaf525f4a7c0d5776f560f2a0bc54429d4568 (diff)
downloademacs-cc6d6e586dfe8aff9771ab75c2d214cb3335933c.tar.gz
(put_entries): For NODE->rewritten, put pattern before \177 and name after,
not vice versa.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index f27ca983b8b..b78a3f8d277 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1175,12 +1175,14 @@ put_entries (node)
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)