** Add an integer to list of constants and return its index. */
| 584 | ** Add an integer to list of constants and return its index. |
| 585 | */ |
| 586 | static int luaK_intK (FuncState *fs, lua_Integer n) { |
| 587 | TValue o; |
| 588 | setivalue(&o, n); |
| 589 | return addk(fs, &o, &o); /* use integer itself as key */ |
| 590 | } |
| 591 | |
| 592 | /* |
| 593 | ** Add a float to list of constants and return its index. Floats |
no test coverage detected