** Add a float to list of constants and return its index. */
| 595 | ** Add a float to list of constants and return its index. |
| 596 | */ |
| 597 | static int luaK_numberK (FuncState *fs, lua_Number r) { |
| 598 | TValue o; |
| 599 | setfltvalue(&o, r); |
| 600 | return addk(fs, &o, &o); /* use number itself as key */ |
| 601 | } |
| 602 | |
| 603 | |
| 604 | /* |
no test coverage detected