Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 30 Jul 2012 22:32:53 Commit: fd40e4aa547b4fb8027bd9a5a8946afc7c93fd8d https://github.com/geany/geany/commit/fd40e4aa547b4fb8027bd9a5a8946afc7c93fd...
Log Message: ----------- Mark a few things as static
Based on CTags r779: https://ctags.svn.sourceforge.net/svnroot/ctags@779
Modified Paths: -------------- tagmanager/ctags/objc.c
Modified: tagmanager/ctags/objc.c 15 files changed, 8 insertions(+), 7 deletions(-) =================================================================== @@ -431,16 +431,16 @@ static objcKeyword lex (lexingState * st) /********** Helpers */ /* This variable hold the 'parser' which is going to * handle the next token */ -parseNext toDoNext; +static parseNext toDoNext;
/* Special variable used by parser eater to * determine which action to put after their * job is finished. */ -parseNext comeAfter; +static parseNext comeAfter;
/* Used by some parsers detecting certain token * to revert to previous parser. */ -parseNext fallback; +static parseNext fallback;
/********** Grammar */ @@ -466,13 +466,13 @@ static void prepareTag (tagEntryInfo * tag, vString const *name, objcKind kind) } }
-void pushEnclosingContext (const vString * parent, objcKind type) +static void pushEnclosingContext (const vString * parent, objcKind type) { vStringCopy (parentName, parent); parentType = type; }
-void popEnclosingContext (void) +static void popEnclosingContext (void) { vStringClear (parentName); } @@ -486,7 +486,7 @@ static void addTag (vString * const ident, int kind) makeTagEntry (&toCreate); }
-objcToken waitedToken, fallBackToken; +static objcToken waitedToken, fallBackToken;
/* Ignore everything till waitedToken and jump to comeAfter. * If the "end" keyword is encountered break, doesn't remember @@ -795,7 +795,8 @@ static void parseStructMembers (vString * const ident, objcToken what) break;
/* some types are complex, the only one - * we will loose is the function type. */ + * we will loose is the function type. + */ case Tok_CurlL: /* '{' */ case Tok_PARL: /* '(' */ case Tok_SQUAREL: /* '[' */
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).