Fix crash when generating global tags files (patch by Colomban Wendling, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4886 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2010-05-08 15:41:00 +00:00
parent 6cd54a2cdd
commit 534e36b3bf
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,9 @@
Improve jumping to matching braces by consistently position the
cursor before or after the matching brace dependent where it
was before (patch by Dimitar Zhekov, thanks).
* src/main.c:
Fix crash when generating global tags files (patch by Colomban
Wendling, thanks).
2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -549,9 +549,12 @@ static void parse_command_line_options(gint *argc, gchar ***argv)
{
gboolean ret;
document_init_doclist();
filetypes_init_types();
filetypes_read_extensions(); /* needed for *.lang.tags filetype matching */
ret = symbols_generate_global_tags(*argc, *argv, ! no_preprocessing);
filetypes_free_types();
document_finalize();
exit(ret);
}