[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ignore keyword `extern'
From: |
Shigio Yamaguchi |
Subject: |
Re: [PATCH] ignore keyword `extern' |
Date: |
Mon, 17 Mar 2003 00:46:24 +0900 |
I agree.
Committed. Thank you.
> This is multipart message.
>
> ----------------------4808180726734634
> Content-Type: text/plain; charset=us-ascii
>
> It seems that there is no reason for handling keyword `extern'.
>
> >cat a.c
> extern "C" {
> extern void f(void);
> void g(void);
> }
> void f(void){}
> void g(void){}
>
> [current cvs version]
> >gctags -dtr a.c
> g 3 a.c void g(void);
>
> [patched version]
> >gctags -dtr a.c
> f 2 a.c extern void f(void);
> g 3 a.c void g(void);
>
>
> -----------
>
>
> * C.c (C): Ignore keyword `extern'.
> * Cpp.c (Cpp): Likewise.
>
> ----
> Hideki IWAMOTO address@hidden
>
> ----------------------4808180726734634
> Content-Type: application/octet-stream;
> name="gctags-extern.patch"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename="gctags-extern.patch"
>
> PyBnY3RhZ3MvLmRlcHMKPyBnY3RhZ3MvTWFrZWZpbGUKPyBnY3RhZ3MvTWFrZWZpbGUuaW4K
> PyBnY3RhZ3MvY29uc3QuaAo/IGdjdGFncy9nY3RhZ3MKPyBnY3RhZ3MvZ2N0YWdzLjEKSW5k
> ZXg6IGdjdGFncy9DLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
> PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QvZ2xvYmFs
> L2dsb2JhbC9nY3RhZ3MvQy5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjIzCmRpZmYgLXUg
> LXIxLjIzIEMuYwotLS0gZ2N0YWdzL0MuYwk1IE1hciAyMDAzIDE2OjA0OjEyIC0wMDAwCTEu
> MjMKKysrIGdjdGFncy9DLmMJMTIgTWFyIDIwMDMgMTU6Mzc6MDMgLTAwMD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SAnOycpCi0JCQkJCTsKLQkJCWJyZWFrOwogCQljYXNlIENQ
> UF9URU1QTEFURToKIAkJCXsKIAkJCQlpbnQgbGV2ZWwgPSAwOwo=
>
> ----------------------4808180726734634
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
>
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-global
>
> ----------------------4808180726734634--
>
>
>
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3