diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-26 12:44:44 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-26 12:44:44 -0200 |
| commit | a51069202a87f485ee7eba62158aab29d4e4e489 (patch) | |
| tree | 08fbd695d4c7bd0d38a95ca0cb5f81d2ec9cded3 /luaconf.h | |
| parent | fb6796ba06e5cfc6040cddec90508a379a3abd50 (diff) | |
| download | lua-a51069202a87f485ee7eba62158aab29d4e4e489.tar.gz lua-a51069202a87f485ee7eba62158aab29d4e4e489.tar.bz2 lua-a51069202a87f485ee7eba62158aab29d4e4e489.zip | |
removed macro 'luai_numinvalidop' (main motivation removed, as folding
does not handle any division by zero by default)
Diffstat (limited to 'luaconf.h')
| -rw-r--r-- | luaconf.h | 10 |
1 files changed, 1 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.235 2014/12/16 17:17:30 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.236 2014/12/19 13:31:12 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 | */ |
| @@ -508,14 +508,6 @@ | |||
| 508 | 508 | ||
| 509 | 509 | ||
| 510 | /* | 510 | /* |
| 511 | ** The following macro checks whether an operation is not safe to be | ||
| 512 | ** performed by the constant folder. It should result in zero only if | ||
| 513 | ** the operation is safe. | ||
| 514 | */ | ||
| 515 | #define luai_numinvalidop(op,a,b) 0 | ||
| 516 | |||
| 517 | |||
| 518 | /* | ||
| 519 | @@ LUA_INTEGER is the integer type used by Lua. | 511 | @@ LUA_INTEGER is the integer type used by Lua. |
| 520 | ** | 512 | ** |
| 521 | @@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER. | 513 | @@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER. |
