diff options
| -rw-r--r-- | luaconf.h | 24 |
1 files changed, 14 insertions, 10 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.244 2015/02/05 16:53:34 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.245 2015/02/05 17:15:33 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 | */ |
| @@ -300,20 +300,15 @@ | |||
| 300 | */ | 300 | */ |
| 301 | #define LUA_COMPAT_APIINTCASTS | 301 | #define LUA_COMPAT_APIINTCASTS |
| 302 | 302 | ||
| 303 | |||
| 304 | /* | ||
| 305 | @@ LUA_COMPAT_FLOATSTRING makes Lua format integral floats without a | ||
| 306 | @@ a float mark ('.0'). | ||
| 307 | ** This macro is not on by default even in compatibility mode, | ||
| 308 | ** because this is not really an incompatibility. | ||
| 309 | */ | ||
| 310 | /* #define LUA_COMPAT_FLOATSTRING */ | ||
| 311 | |||
| 312 | #endif /* } */ | 303 | #endif /* } */ |
| 313 | 304 | ||
| 314 | 305 | ||
| 315 | #if defined(LUA_COMPAT_5_1) /* { */ | 306 | #if defined(LUA_COMPAT_5_1) /* { */ |
| 316 | 307 | ||
| 308 | /* Incompatibilities from 5.2 -> 5.3 */ | ||
| 309 | #define LUA_COMPAT_MATHLIB | ||
| 310 | #define LUA_COMPAT_APIINTCASTS | ||
| 311 | |||
| 317 | /* | 312 | /* |
| 318 | @@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'. | 313 | @@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'. |
| 319 | ** You can replace it with 'table.unpack'. | 314 | ** You can replace it with 'table.unpack'. |
| @@ -373,6 +368,15 @@ | |||
| 373 | 368 | ||
| 374 | #endif /* } */ | 369 | #endif /* } */ |
| 375 | 370 | ||
| 371 | |||
| 372 | /* | ||
| 373 | @@ LUA_COMPAT_FLOATSTRING makes Lua format integral floats without a | ||
| 374 | @@ a float mark ('.0'). | ||
| 375 | ** This macro is not on by default even in compatibility mode, | ||
| 376 | ** because this is not really an incompatibility. | ||
| 377 | */ | ||
| 378 | /* #define LUA_COMPAT_FLOATSTRING */ | ||
| 379 | |||
| 376 | /* }================================================================== */ | 380 | /* }================================================================== */ |
| 377 | 381 | ||
| 378 | 382 | ||
