Hi,
I have committed your patch to the master repository.
Thank you!

> Hi,
> 
> This patch supports java 1.5 enums.
> 
> Regards,
> David Keegan.
> -- 
> [David Keegan [EMAIL PROTECTED] 353 1 2710818]
> 
> diff -r -u global-5.4.1.orig/gtags-parser/java.c 
> global-5.4.1/gtags-parser/java.c
> --- global-5.4.1.orig/gtags-parser/java.c     2007-03-10 10:28:16.000000000 
> +0000
> +++ global-5.4.1/gtags-parser/java.c  2007-04-24 11:08:29.000000000 +0100
> @@ -138,6 +138,7 @@
>                       break;
>               case JAVA_CLASS:
>               case JAVA_INTERFACE:
> +      case JAVA_ENUM:
>                       if ((c = nexttoken(interested, java_reserved_word)) == 
> SYMBOL) {
>                               strlimcpy(classname, token, sizeof(classname));
>                               startclass = 1;
> diff -r -u global-5.4.1.orig/gtags-parser/java_res.in 
> global-5.4.1/gtags-parser/java_res.in
> --- global-5.4.1.orig/gtags-parser/java_res.in        2007-03-10 
> 10:28:16.000000000 +0000
> +++ global-5.4.1/gtags-parser/java_res.in     2007-04-24 10:57:32.000000000 
> +0100
> @@ -27,6 +27,7 @@
>  do                   word
>  double                       word
>  else                 word
> +enum                 word
>  extends                      word
>  false                        word
>  final                        word
--
Shigio YAMAGUCHI <[EMAIL PROTECTED]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to