mirror of https://github.com/AxioDL/metaforce.git
OS X fixes
This commit is contained in:
parent
66d07ff82d
commit
9a47c3dd6d
|
@ -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>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit e6dedd0e6cd72117cc3b06ec1b42aec0371d5790
|
Subproject commit 418f3e763fed8234ae1498c56dcd574bdd66b020
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue