** Add a string to list of constants and return its index. */
| 587 | ** Add a string to list of constants and return its index. |
| 588 | */ |
| 589 | static int stringK (FuncState *fs, TString *s) { |
| 590 | TValue o; |
| 591 | setsvalue(fs->ls->L, &o, s); |
| 592 | return k2proto(fs, &o, &o); /* use string itself as key */ |
| 593 | } |
| 594 | |
| 595 | |
| 596 | /* |
no test coverage detected