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: [email protected] [mailto:[email protected]] On Behalf Of Shigio YAMAGUCHI Sent: 30 September 2016 01:29 To: Cooper, Anthony Cc: [email protected] 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 <[email protected]> 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 [email protected]. 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 [email protected] ****************************************************************************
global-6.5.5-suffixless-patch.tgz
Description: global-6.5.5-suffixless-patch.tgz
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
