mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Merge branch 'master' into FuzzyAutoComplete
This commit is contained in:
commit
62c3998521
64 changed files with 2485 additions and 598 deletions
|
@ -3800,13 +3800,14 @@ BF_EXPORT bool BF_CALLTYPE BfParser_Reduce(BfParser* bfParser, BfPassInstance* b
|
|||
}
|
||||
|
||||
static Array<int> gCharMapping;
|
||||
BF_EXPORT const char* BF_CALLTYPE BfParser_Format(BfParser* bfParser, int formatStart, int formatEnd, int** outCharMapping)
|
||||
BF_EXPORT const char* BF_CALLTYPE BfParser_Format(BfParser* bfParser, int formatStart, int formatEnd, int** outCharMapping, int maxCol)
|
||||
{
|
||||
BP_ZONE("BfParser_Reduce");
|
||||
String& outString = *gTLStrReturn.Get();
|
||||
outString.clear();
|
||||
gCharMapping.Clear();
|
||||
BfPrinter bfPrinter(bfParser->mRootNode, bfParser->mSidechannelRootNode, bfParser->mErrorRootNode);
|
||||
bfPrinter.mMaxCol = maxCol;
|
||||
bfPrinter.mFormatStart = formatStart;
|
||||
bfPrinter.mFormatEnd = formatEnd;
|
||||
bfPrinter.mCharMapping = &gCharMapping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue