Be able to annotate function prototypes in header files

This commit is contained in:
David Granström
2021-09-28 17:48:33 +02:00
parent d99f86ca06
commit 6fdd841593

View File

@@ -52,12 +52,12 @@ end
return { return {
parent = { parent = {
func = { "function_declaration", "function_definition" }, func = { "function_declaration", "function_definition", "declaration" },
}, },
data = { data = {
func = { func = {
["function_declaration|function_definition"] = { ["function_declaration|function_definition|declaration"] = {
["0"] = { ["0"] = {
extract = c_function_extractor, extract = c_function_extractor,
}, },