From 939dab08e0c12fb55aa34a1fab5d84e031dcb1fb Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Mon, 12 Nov 2018 11:33:58 +0100 Subject: [PATCH] Process files in the order they are listed when generating a tags file --- src/tagmanager/tm_workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tagmanager/tm_workspace.c b/src/tagmanager/tm_workspace.c index 58d9bf38..54563a70 100644 --- a/src/tagmanager/tm_workspace.c +++ b/src/tagmanager/tm_workspace.c @@ -516,7 +516,7 @@ static GList *lookup_includes(const gchar **includes, gint includes_count) g_hash_table_destroy(table); - return includes_files; + return g_list_reverse(includes_files); } static gchar *pre_process_file(const gchar *cmd, const gchar *inf)