SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: china_sundasheng on September 16, 2012, 12:51:44 AM
-
For example in postgresql, there is a struct like:
typedef struct _dumpableObject
{
char *name;
NamespaceInfo *namespace;
bool dump;
} DumpableObject;
Then if define "DumpableObject *dobj", se don't parse "dobj->namespace".
Version 17.0.2, hotfix_se1702_5_cumulative
-
It's not valid C++ code but it is valid C. Maybe you could submit a patch to postgresql as suggested here
http://archives.postgresql.org/pgsql-hackers/2008-12/msg00309.php (http://archives.postgresql.org/pgsql-hackers/2008-12/msg00309.php)
http://archives.postgresql.org/pgsql-hackers/2010-12/msg02115.php (http://archives.postgresql.org/pgsql-hackers/2010-12/msg02115.php)
Or maybe you could try and tag the postgresql headers as Ansi C instead of C/C++.
-
Yes, it works on ANSI-C.
Thanks a lot.