Minor fixes
This commit is contained in:
parent
cb1bc956b2
commit
6611cdf72e
|
|
@ -162,10 +162,10 @@ namespace Nz
|
||||||
if (f0 == 0 && l0 == 5 && m_ipv6[5] == 0xFFFF)
|
if (f0 == 0 && l0 == 5 && m_ipv6[5] == 0xFFFF)
|
||||||
{
|
{
|
||||||
IPv4 ipv4 = {
|
IPv4 ipv4 = {
|
||||||
m_ipv6[6] >> 8,
|
SafeCast<UInt8>(m_ipv6[6] >> 8),
|
||||||
m_ipv6[6] & 0xFF,
|
SafeCast<UInt8>(m_ipv6[6] & 0xFF),
|
||||||
m_ipv6[7] >> 8,
|
SafeCast<UInt8>(m_ipv6[7] >> 8),
|
||||||
m_ipv6[7] & 0xFF,
|
SafeCast<UInt8>(m_ipv6[7] & 0xFF),
|
||||||
};
|
};
|
||||||
|
|
||||||
stream << "::ffff:";
|
stream << "::ffff:";
|
||||||
|
|
|
||||||
|
|
@ -665,6 +665,7 @@ namespace Nz::ShaderLang
|
||||||
|
|
||||||
case TokenType::For:
|
case TokenType::For:
|
||||||
statement = ParseForDeclaration(std::move(attributes));
|
statement = ParseForDeclaration(std::move(attributes));
|
||||||
|
attributes.clear();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TokenType::Let:
|
case TokenType::Let:
|
||||||
|
|
@ -703,6 +704,7 @@ namespace Nz::ShaderLang
|
||||||
|
|
||||||
case TokenType::While:
|
case TokenType::While:
|
||||||
statement = ParseWhileStatement(std::move(attributes));
|
statement = ParseWhileStatement(std::move(attributes));
|
||||||
|
attributes.clear();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue