Kaydet (Commit) 4e0dd7fc authored tarafından Nick Treleaven's avatar Nick Treleaven

Use the usual TM parser for all langTypes except pascal, php, latex when loading global tags files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1461 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 14001ddc
......@@ -354,10 +354,17 @@ TMTag *tm_tag_new_from_file(TMSourceFile *file, FILE *fp, gint mode)
TAG_NEW(tag);
if (mode == 0 || mode == 1)
result = tm_tag_init_from_file(tag, file, fp);
else
result = tm_tag_init_from_file_alt(tag, file, fp);
switch (mode)
{
case 4: // pascal
case 6: // php
case 8: // latex
result = tm_tag_init_from_file_alt(tag, file, fp);
break;
default:
result = tm_tag_init_from_file(tag, file, fp);
}
if (! result)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment