X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=token.c;fp=token.c;h=34c4a52ceda455b030d7d9a4023d3c5d0ea15f07;hp=9754f4e4220750a0b0e92886eb414a60ace3bb8d;hb=4ca28ba07da9f3848c2e3db0e2e9cbcaa787dd29;hpb=2ede3731285f3bc20f5493de593442e872db4d32 diff --git a/token.c b/token.c index 9754f4e..34c4a52 100644 --- a/token.c +++ b/token.c @@ -1624,7 +1624,8 @@ dostring: *tk.u32++ = FCONST; // Shamus: Well, this is all kinds of icky--not the least of which is that unlike uintNN_t types, we have no guarantees of any kind when it comes to the size of floating point numbers in C (as far as I know of). If there is, we need to use those kinds here, or else figure out at runtime what sizes we're dealing with and act accordingly. To be fair, this is OK as long as the double type is less than 64 bits wide, but again, there's no guarantee that it isn't. :-/ - *tk.u64++ = f; + *tk.dp = f; + tk.u64++; continue; } }