[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH for java enum
From: |
Shigio YAMAGUCHI |
Subject: |
Re: PATCH for java enum |
Date: |
Thu, 26 Apr 2007 15:39:29 +0900 |
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 address@hidden 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 <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3