[geany/geany] 017e1b: lregex: Add missing fields to regexPattern

Jiří Techet git-noreply at xxxxx
Mon Dec 17 21:05:54 UTC 2018


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 12 Oct 2016 15:13:32 UTC
Commit:      017e1be502d01fbc6ec046f6413148f77609e231
             https://github.com/geany/geany/commit/017e1be502d01fbc6ec046f6413148f77609e231

Log Message:
-----------
lregex: Add missing fields to regexPattern


Modified Paths:
--------------
    ctags/main/lregex.c

Modified: ctags/main/lregex.c
13 lines changed, 13 insertions(+), 0 deletions(-)
===================================================================
@@ -58,18 +58,31 @@ union cptr {
 
 enum pType { PTRN_TAG, PTRN_CALLBACK };
 
+enum scopeAction {
+	SCOPE_REF     = 1UL << 0,
+	SCOPE_POP     = 1UL << 1,
+	SCOPE_PUSH    = 1UL << 2,
+	SCOPE_CLEAR   = 1UL << 3,
+	SCOPE_PLACEHOLDER = 1UL << 4,
+};
+
 typedef struct {
 	GRegex *pattern;
 	enum pType type;
+	bool exclusive;
+	bool accept_empty_name;
 	union {
 		struct {
 			char *name_pattern;
 			kindOption *kind;
 		} tag;
 		struct {
 			regexCallback function;
+			void *userData;
 		} callback;
 	} u;
+	unsigned int scopeActions;
+	bool *disabled;
 } regexPattern;
 
 



--------------
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