[geany/geany] e091a5: c, c++: Don't parse size_t as a keyword
Colomban Wendling
git-noreply at xxxxx
Thu Dec 25 00:35:28 UTC 2014
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Thu, 25 Dec 2014 00:35:28 UTC
Commit: e091a56a18ef20f65e088d78fc78fcdb310526b2
https://github.com/geany/geany/commit/e091a56a18ef20f65e088d78fc78fcdb310526b2
Log Message:
-----------
c, c++: Don't parse size_t as a keyword
This fixes handling of typedefs defining this name.
Modified Paths:
--------------
tagmanager/ctags/c.c
Modified: tagmanager/ctags/c.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -477,7 +477,7 @@ static const keywordDesc KeywordTable [] = {
{ "short", KEYWORD_SHORT, { 1, 1, 1, 1, 0, 1, 1 } },
{ "signal", KEYWORD_SIGNAL, { 0, 0, 0, 0, 0, 1, 0 } },
{ "signed", KEYWORD_SIGNED, { 1, 1, 0, 0, 0, 0, 0 } },
- { "size_t", KEYWORD_SIZE_T, { 1, 1, 0, 0, 0, 1, 1 } },
+ { "size_t", KEYWORD_SIZE_T, { 0, 0, 0, 0, 0, 1, 1 } },
{ "state", KEYWORD_STATE, { 0, 0, 0, 0, 1, 0, 0 } },
{ "static", KEYWORD_STATIC, { 1, 1, 1, 1, 1, 1, 1 } },
{ "static_assert", KEYWORD_STATIC_ASSERT, { 0, 1, 0, 0, 0, 0, 0 } },
--------------
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