Fixed a painful bug which was causing numbers to be corrupted on

the surveyor architecture. Why this didn't cause a problem on x86
I'll never know.


git-svn-id: http://picoc.googlecode.com/svn/trunk@281 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2009-05-16 12:51:55 +00:00
parent f4c00c74b4
commit 5cece5090c

2
lex.c
View file

@ -185,7 +185,7 @@ enum LexToken LexGetNumber(struct LexState *Lexer, struct Value *Value)
return TokenFPConstant;
#else
return TokenIntegerConstant;
return ResultToken;
#endif
}