Search by definition returns extra wrong results #4534
Unanswered
shusterboris
asked this question in
Q&A
Replies: 1 comment
-
Updated. I was unable to solve the problem using option --kinds in the external options file (indexer use it), at least on Windows. Size of index are changing for different options, but function's arguments still founds for definition |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, all!
![image](https://private-user-images.githubusercontent.com/25655449/298650060-a8e848cf-25c0-4925-be77-c02b6b3e477b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NzIzODQsIm5iZiI6MTczODk3MjA4NCwicGF0aCI6Ii8yNTY1NTQ0OS8yOTg2NTAwNjAtYThlODQ4Y2YtMjVjMC00OTI1LWJlNzctYzAyYjZiM2U0NzdiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIzNDgwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1MTU5NzdiZWIwZmIxYjU4YzY5NDg3ZGZjODc0YWE0ODUwNDU1ZDEyYTBlM2JjNzJjMjY4N2ZiYmQxZmFjY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.L-VmFv19jaxPZ1zKI4XUVoxGx7vrdmoZ6xV_peNw1nE)
![image](https://private-user-images.githubusercontent.com/25655449/298652706-cb509854-f405-4f1a-a358-282066c7ba23.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NzIzODQsIm5iZiI6MTczODk3MjA4NCwicGF0aCI6Ii8yNTY1NTQ0OS8yOTg2NTI3MDYtY2I1MDk4NTQtZjQwNS00ZjFhLWEzNTgtMjgyMDY2YzdiYTIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIzNDgwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3OGE5YWVmODY3MjA5NmU5ZTI2ODA0MWMyYzZkYjFmOWU4YjljOWFkNGZjMTQ0OGE2NjZjMDIzMTRhMmQ2M2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eNfws2jPOY3R5ZMFc5-7EVvNNFWnu-QmxP5FtLlcU0I)
I'm getting strange result of search. I input function name into "Definition" field. And I expected that OpenGrok will return definition of typeDef. But it it returns not only typeDef but also bunch of names in function's arguments.
In the worst case I can try to solve the problem using --kinds- option. But can't find format of extra command line (-o / --ctagOpts). Just text? Something like
--kinds-c=+lfx-z ?
And another strange search result:
call of get_feat_name() evaluated as declaration (get_feat_name entered into field "Definition")
OpenGrok version is 1.8.4
Beta Was this translation helpful? Give feedback.
All reactions