
8 Dec
2003
8 Dec
'03
11:54 a.m.
I wrote:
Fascinating. Everything works again now. I don't really have a clue how setlocale influenced my OpenGL stuff (via floats), though... %-]
Mystery solved: Hugs' native lexer uses atof, which in turn uses strtod, which is locale-dependent. In the German locale I use, ',' and not '.' is used between the integral and the fractional part of a numbers, so Hugs effectively lexed only the integral part. Thanks to Ross for fixing this obscure bug, S.