mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:44:56 +00:00
OS X fixes
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include "HECL/HECL.hpp"
|
#include "HECL/HECL.hpp"
|
||||||
#include <Athena/Types.hpp>
|
#include <Athena/Types.hpp>
|
||||||
|
|||||||
2
hecl/extern/Athena
vendored
2
hecl/extern/Athena
vendored
Submodule hecl/extern/Athena updated: e6dedd0e6c...418f3e763f
@@ -58,7 +58,7 @@ Parser::Token Parser::consumeToken()
|
|||||||
/* Check for numeric literal */
|
/* Check for numeric literal */
|
||||||
{
|
{
|
||||||
char* strEnd;
|
char* strEnd;
|
||||||
float val = std::strtof(&*m_sourceIt, &strEnd);
|
float val = strtof(&*m_sourceIt, &strEnd);
|
||||||
if (&*m_sourceIt != strEnd)
|
if (&*m_sourceIt != strEnd)
|
||||||
{
|
{
|
||||||
Parser::Token tok(TokenNumLiteral, getLocation());
|
Parser::Token tok(TokenNumLiteral, getLocation());
|
||||||
|
|||||||
Reference in New Issue
Block a user