Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 16 Aug 2016 12:18:50 UTC Commit: a974f35752558173a470df92fb505cabb395af2a https://github.com/geany/geany/commit/a974f35752558173a470df92fb505cabb395af...
Log Message: ----------- Define KEYWORD_NONE in keyword.h so it doesn't have to be defined by parsers
Modified Paths: -------------- ctags/main/keyword.h ctags/parsers/c.c ctags/parsers/fortran.c ctags/parsers/go.c ctags/parsers/jscript.c ctags/parsers/php.c ctags/parsers/sql.c
Modified: ctags/main/keyword.h 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -16,6 +16,8 @@
#include "parse.h"
+#define KEYWORD_NONE -1 + /* * FUNCTION PROTOTYPES */
Modified: ctags/parsers/c.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -59,7 +59,6 @@ typedef enum eException */ typedef enum eKeywordId { - KEYWORD_NONE = -1, KEYWORD_ATTRIBUTE, KEYWORD_ABSTRACT, KEYWORD_ALIAS, KEYWORD_BOOLEAN, KEYWORD_BYTE, KEYWORD_BAD_STATE, KEYWORD_BAD_TRANS, KEYWORD_BIND, KEYWORD_BIND_VAR, KEYWORD_BIT, KEYWORD_BODY,
Modified: ctags/parsers/fortran.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -62,7 +62,6 @@ typedef enum eFortranLineType { /* Used to specify type of keyword. */ typedef enum eKeywordId { - KEYWORD_NONE = -1, KEYWORD_allocatable, KEYWORD_assignment, KEYWORD_associate,
Modified: ctags/parsers/go.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -28,7 +28,6 @@ */
typedef enum eKeywordId { - KEYWORD_NONE = -1, KEYWORD_package, KEYWORD_import, KEYWORD_const,
Modified: ctags/parsers/jscript.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -52,7 +52,6 @@ static stringList *FunctionNames; /* Used to specify type of keyword. */ typedef enum eKeywordId { - KEYWORD_NONE = -1, KEYWORD_function, KEYWORD_capital_function, KEYWORD_capital_object,
Modified: ctags/parsers/php.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -25,7 +25,6 @@
typedef enum { - KEYWORD_NONE = -1, KEYWORD_abstract, KEYWORD_and, KEYWORD_as,
Modified: ctags/parsers/sql.c 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -54,7 +54,6 @@ typedef enum eException { ExceptionNone, ExceptionEOF } exception_t; * Used to specify type of keyword. */ typedef enum eKeywordId { - KEYWORD_NONE = -1, KEYWORD_is, KEYWORD_begin, KEYWORD_body,
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).