Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit a320525

Browse files
committed
use correct flag for function prototypes
1 parent ae16da0 commit a320525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4coder_fleury_lang_cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ internal F4_LANGUAGE_INDEXFILE(F4_CPP_IndexFile)
364364
if(F4_CPP_ParseFunctionBodyIFuckingHateCPlusPlus(ctx, &prototype))
365365
{
366366
F4_Index_MakeNote(ctx->app, ctx->file, 0, F4_Index_StringFromToken(ctx, name),
367-
F4_Index_NoteKind_Function, prototype ? F4_Index_NoteFlag_ProductType : 0, Ii64(name));
367+
F4_Index_NoteKind_Function, prototype ? F4_Index_NoteFlag_Prototype : 0, Ii64(name));
368368
}
369369
}
370370

0 commit comments

Comments
 (0)