SECURITY CLASSIFICATION: OFFICIAL 

       Hi all,

        I've included a patch that allows global to parse and index files 
without an extension (typically C++ header files, e.g. 
/usr/include/c++/4.8/algorithm and many more). This works by having a set of 
rules whereby a user can specify path regexs and the corresponding source file 
types for files without a suffix. This is done by specifying a rule, similar to 
langmap, like this:

default: \
        :GTAGSFORCECPP: \
        :suffixless_langmap=[iI]nclude\:cpp,project/include\:cpp:

        This can be specified on multiple lines like langmap. Also the regex 
can be used to match any part of a path, including the filename if necessary.

        I know you want patches that apply to the head of your main branch but 
unfortunately our organisation's firewall prevents me from connecting to your 
CVS server, so they are based on your latest release (6.5.4).

        Regards,

        Tony Cooper.

****************************************************************************
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 postmas...@gchq.gsi.gov.uk.  

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
info...@gchq.gsi.gov.uk

****************************************************************************

Attachment: suffixless-patch.tgz
Description: suffixless-patch.tgz

_______________________________________________
Bug-global mailing list
Bug-global@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to