[geany/geany] ad37ce: PHP: recognize PHP 5.5 keywords finally and yield as such

Colomban Wendling git-noreply at xxxxx
Wed Jul 3 17:26:23 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 03 Jul 2013 17:26:23 UTC
Commit:      ad37ced1c240f8c724eac40e237a6285ca13cb43
             https://github.com/geany/geany/commit/ad37ced1c240f8c724eac40e237a6285ca13cb43

Log Message:
-----------
PHP: recognize PHP 5.5 keywords finally and yield as such


Modified Paths:
--------------
    tagmanager/ctags/php.c

Modified: tagmanager/ctags/php.c
8 files changed, 6 insertions(+), 2 deletions(-)
===================================================================
@@ -51,6 +51,7 @@
 	KEYWORD_endwhile,
 	KEYWORD_extends,
 	KEYWORD_final,
+	KEYWORD_finally,
 	KEYWORD_for,
 	KEYWORD_foreach,
 	KEYWORD_function,
@@ -81,7 +82,8 @@
 	KEYWORD_use,
 	KEYWORD_var,
 	KEYWORD_while,
-	KEYWORD_xor
+	KEYWORD_xor,
+	KEYWORD_yield
 } keywordId;
 
 typedef enum {
@@ -155,6 +157,7 @@
 	{ "endwhile",		KEYWORD_endwhile		},
 	{ "extends",		KEYWORD_extends			},
 	{ "final",			KEYWORD_final			},
+	{ "finally",		KEYWORD_finally			},
 	{ "for",			KEYWORD_for				},
 	{ "foreach",		KEYWORD_foreach			},
 	{ "function",		KEYWORD_function		},
@@ -185,7 +188,8 @@
 	{ "use",			KEYWORD_use				},
 	{ "var",			KEYWORD_var				},
 	{ "while",			KEYWORD_while			},
-	{ "xor",			KEYWORD_xor				}
+	{ "xor",			KEYWORD_xor				},
+	{ "yield",			KEYWORD_yield			}
 };
 
 



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