[geany/geany] c7bf89: Treat the "h" extension as a C++ file
Jiří Techet
git-noreply at xxxxx
Fri Jun 10 21:57:17 UTC 2016
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Thu, 07 Jan 2016 22:28:18 UTC
Commit: c7bf89a46444c6d75ac89395f0663c99cd5e79d4
https://github.com/geany/geany/commit/c7bf89a46444c6d75ac89395f0663c99cd5e79d4
Log Message:
-----------
Treat the "h" extension as a C++ file
The extension is used by both C and C++ and lexing/parsing C headers with
the C++ parser causes less problems (identifiers named like C++ keywords
get highlighted and tags aren't generated for them) than parsing C++
headers with the C parser (parsing and lexing completely broken).
Modified Paths:
--------------
data/filetype_extensions.conf
tests/ctags/bug639639.h.tags
tests/ctags/extern_variable.h.tags
Modified: data/filetype_extensions.conf
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -10,7 +10,7 @@ Asciidoc=*.asciidoc;*.adoc;
ASM=*.asm;*.asm51;*.a51;
Batch=*.bat;*.cmd;*.nt;
CAML=*.ml;*.mli;
-C=*.c;*.h;*.xpm;
+C=*.c;*.xpm;
C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;*.H;
CUDA=*.cu;*.cuh;*.h;
C#=*.cs;
Modified: tests/ctags/bug639639.h.tags
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -1,3 +1,5 @@
# format=tagmanager
+Namespace1�256�0
anon2�4�anon_enum_0�0
anon_enum_0�2�0
+function2�1024�(char* str)�Namespace1�0�int
Modified: tests/ctags/extern_variable.h.tags
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1,5 +1,5 @@
# format=tagmanager
-C�16384�0�class
+C�32768�0
S�32768�0
a�32768�0�int
b�32768�0�B
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list