[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Source type recognition
From: |
Henning Stroeker |
Subject: |
Source type recognition |
Date: |
Fri, 12 Apr 2002 11:01:05 +0200 |
Hello,
actually global determines the type of a source code (C,C++,java...) by a
fixed set of file extensions. But there are some applications that use
different extensions (*.CPP for instance is not recognizes as C++ code). In
our own product we implemented a C interpreter that uses *.sft file
extension for header files and *.sfm for sources. To specify them in the
gtags.conf as suffixes is not sufficient because no tags are extracted from
this files.
So I would suggest a more flexible way of defining file extensions in
gtags.conf:
:C-suffixes=c,h,sfm,sft:\
:C++-suffixes=H,hpp,c++,cpp,CPP,C:\
...
Henning Ströker
____________________________________________________
More product and service information can be found at
http://www.soft-imaging.net
- Source type recognition,
Henning Stroeker <=