mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Expanded const generic params to support structs
This commit is contained in:
parent
d9de51a019
commit
b80db38cdc
13 changed files with 443 additions and 36 deletions
|
@ -1085,6 +1085,9 @@ bool BfAstNode::Equals(const StringView& str)
|
|||
|
||||
bool BfAstNode::Equals(const char* str)
|
||||
{
|
||||
if (mSrcEnd == 0)
|
||||
return false;
|
||||
|
||||
auto source = GetSourceData();
|
||||
const char* ptrLhs = source->mSrc + mSrcStart;
|
||||
const char* ptrLhsEnd = source->mSrc + mSrcEnd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue