1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Add BfParser_GetLineCharAtIdx, include fields in document symbols and optionally include location in type defs

This commit is contained in:
MineGame159 2022-08-23 19:13:15 +02:00
parent 9daae6baa6
commit 852d11c6c3
5 changed files with 282 additions and 211 deletions

View file

@ -4170,4 +4170,14 @@ BF_EXPORT void BF_CALLTYPE BfParser_GenerateAutoCompletionFrom(BfParser* bfParse
BF_EXPORT void BF_CALLTYPE BfParser_SetCompleteParse(BfParser* bfParser)
{
bfParser->mCompleteParse = true;
}
BF_EXPORT void BF_CALLTYPE BfParser_GetLineCharAtIdx(BfParser* bfParser, int idx, int* line, int* lineChar)
{
int _line, _lineChar;
bfParser->GetLineCharAtIdx(idx, _line, _lineChar);
*line = _line;
*lineChar = _lineChar;
}