mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Renamed TypeCode_Single to TypeCode_Float. Float struct interop fixes.
This commit is contained in:
parent
14c3d0cd35
commit
2fe209447e
20 changed files with 595 additions and 69 deletions
|
@ -2374,7 +2374,7 @@ void BfParser::NextToken(int endIdx)
|
|||
if ((c == 'f') || (c == 'F'))
|
||||
{
|
||||
mTokenEnd = mSrcIdx;
|
||||
mLiteral.mTypeCode = BfTypeCode_Single;
|
||||
mLiteral.mTypeCode = BfTypeCode_Float;
|
||||
mLiteral.mSingle = (float)ParseLiteralDouble();//(float)dVal;
|
||||
mSyntaxToken = BfSyntaxToken_Literal;
|
||||
return;
|
||||
|
@ -2547,7 +2547,7 @@ void BfParser::NextToken(int endIdx)
|
|||
else if ((c == 'f') || (c == 'F'))
|
||||
{
|
||||
mTokenEnd = mSrcIdx;
|
||||
mLiteral.mTypeCode = BfTypeCode_Single;
|
||||
mLiteral.mTypeCode = BfTypeCode_Float;
|
||||
mLiteral.mSingle = (float)ParseLiteralDouble();//(float)val;
|
||||
mSyntaxToken = BfSyntaxToken_Literal;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue