Enum tags...

"SV" <[email protected]>
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hi,
I have enum defininitions of the following type in my C header
file
 
enum ErrorEnum_t {
    INVALID = INVALID_VALUE,
    ERR_MIN = 200,
    OK = ERR_MIN,
    ERR = ERR_MIN + 1,
    INVALID_DATA = ERR_MIN + 2,
    INVALID_REQUEST = ERR_MIN + 3,
    INVALID_MSG = ERR_MIN + 4,
    INVALID_BATCH_ID = ERR_MIN + 5,
    INVALID_REQUESTOR = ERR_MIN + 6,
    ERR_MAX = ERR_MIN + 7,
};
typedef enum ErrorEnum_t ErrorEnum_t;

On a RH9 Linux system with global 4.8.7, from the bash shell, if
I do 
 
global INVALID_DATA
 
I do not get any result. But if I do 
 
global -s INVALID_DATA
 
I get the definition from the header file and all occurrences of
usage from the C source files in the project. For all function
definitions in the C source file "global" shows me only the
definitions. How can I get the same behaviour for enums as I do
for function definitions?
 
TIA,
SV

_______________________________________________
Help-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-global
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.