diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-17 15:32:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-17 15:32:09 -0300 |
commit | 074352911f3fe3102e4103c2b7140d1cf3d48492 (patch) | |
tree | 5f3435634af978b8e32bde9b28d2e0d5d71686cb /luaconf.h | |
parent | 5e8a9e324ccdba03b326f8a8fafa0446042975a5 (diff) | |
download | lua-074352911f3fe3102e4103c2b7140d1cf3d48492.tar.gz lua-074352911f3fe3102e4103c2b7140d1cf3d48492.tar.bz2 lua-074352911f3fe3102e4103c2b7140d1cf3d48492.zip |
new coding for while and repeat (with new scoping for repeat)
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.58 2005/08/09 17:57:29 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.59 2005/08/15 14:12:32 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -456,13 +456,6 @@ | |||
456 | 456 | ||
457 | 457 | ||
458 | /* | 458 | /* |
459 | @@ LUAI_MAXEXPWHILE is the maximum size of code for expressions | ||
460 | @* controling a 'while' loop. | ||
461 | */ | ||
462 | #define LUAI_MAXEXPWHILE 100 | ||
463 | |||
464 | |||
465 | /* | ||
466 | @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. | 459 | @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. |
467 | */ | 460 | */ |
468 | #define LUAL_BUFFERSIZE BUFSIZ | 461 | #define LUAL_BUFFERSIZE BUFSIZ |
@@ -481,7 +474,8 @@ | |||
481 | */ | 474 | */ |
482 | 475 | ||
483 | /* On a Pentium, resort to a trick */ | 476 | /* On a Pentium, resort to a trick */ |
484 | #if !defined(LUA_ANSI) && (defined(__i386) || defined (_M_IX86)) | 477 | #if !defined(LUA_ANSI) && !defined(__SSE2__) && \ |
478 | (defined(__i386) || defined (_M_IX86)) | ||
485 | union luai_Cast { double l_d; long l_l; }; | 479 | union luai_Cast { double l_d; long l_l; }; |
486 | #define lua_number2int(i,d) \ | 480 | #define lua_number2int(i,d) \ |
487 | { volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; } | 481 | { volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; } |