[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: GNU Global Parsing Suffixless Files Patch
From: |
Cooper, Anthony |
Subject: |
RE: GNU Global Parsing Suffixless Files Patch |
Date: |
Fri, 30 Sep 2016 21:56:22 +0100 |
SECURITY CLASSIFICATION: OFFICIAL
Assorted projects I've come across have include and Include (the example below
is a trivial but a real one relating to MS-Windows) and some even have include
dirs names XInclude or something similar (can't remember the project now,
wasn't X11 but probably an X client).
I have attached a patch that implements case 1 as described below, changes
against 6.5.5.
Regards,
Tony.
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Shigio YAMAGUCHI
Sent: 30 September 2016 01:29
To: Cooper, Anthony
Cc: address@hidden
Subject: Re: GNU Global Parsing Suffixless Files Patch
> I still feel the regex approach offers more flexibility. How about we
> adopt the () approach you mentioned below such that:
>
> gtags --language-force=cpp\:project/include
>
> Is a real path as you suggest and:
>
> gtags --language-force=cpp\:([Ii]nclude)
In what kind of case is this useful?
If possible, would you please show me an example?
>
> is a regex pattern contained in ().
...
> This would also be consistent with ctags.
In ctags's langmap, the pattern is glob pattern not regex.
Regards,
Shigio
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
****************************************************************************
Communications with GCHQ may be monitored and/or recorded
for system efficiency and other lawful purposes. Any views or
opinions expressed in this e-mail do not necessarily reflect GCHQ
policy. This email, and any attachments, is intended for the
attention of the addressee(s) only. Its unauthorised use,
disclosure, storage or copying is not permitted. If you are not the
intended recipient, please notify address@hidden
This information is exempt from disclosure under the Freedom of
Information Act 2000 and may be subject to exemption under
other UK information legislation. Refer disclosure requests to
GCHQ on 01242 221491 ext 30306 (non-secure) or email
address@hidden
****************************************************************************
global-6.5.5-suffixless-patch.tgz
Description: global-6.5.5-suffixless-patch.tgz
- GNU Global Parsing Suffixless Files Patch, Cooper, Anthony, 2016/09/21
- Re: GNU Global Parsing Suffixless Files Patch, Shigio YAMAGUCHI, 2016/09/22
- RE: GNU Global Parsing Suffixless Files Patch, Cooper, Anthony, 2016/09/26
- Re: GNU Global Parsing Suffixless Files Patch, Shigio YAMAGUCHI, 2016/09/27
- Message not available
- Message not available
- RE: GNU Global Parsing Suffixless Files Patch, Cooper, Anthony, 2016/09/29
- Re: GNU Global Parsing Suffixless Files Patch, Shigio YAMAGUCHI, 2016/09/29
- RE: GNU Global Parsing Suffixless Files Patch,
Cooper, Anthony <=
- Re: GNU Global Parsing Suffixless Files Patch, Shigio YAMAGUCHI, 2016/09/30