https://defect.opensolaris.org/bz/show_bug.cgi?id=16070
Summary: our ctags parser fails to parse a c signature
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
--- Comment #0 from Lubos Kosco <[email protected]> 2010-05-26 07:01:34 UTC
---
http://grok.czech:8080/source/search?q=&project=onnv-clone&defs=anon_fallback&refs=&path=&hist=
produces no definition, even though there are several of them in signatures,
e.g. in ns_standalone.c
http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/analysis/Ctags.java#209
seems to do a faulty job, since the signature from ctags 5.8 is:
__ns_ldap_getRootDSE ns_standalone.c /^__ns_ldap_getRootDSE(const char
*server_addr,$/;" function line:1295 signature:(const char
*server_addr, char **root_dse, ns_ldap_error_t **errorp, int anon_fallback)
not sure if it's the double ** that confuse it ... (most probably yes, if I
understand the split regex properly)
hint: for lazy regex folks: http://www.cuneytyilmaz.com/prog/jrx/
:-D
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev