** Add a string to list of constants and return its index. */
| 572 | ** Add a string to list of constants and return its index. |
| 573 | */ |
| 574 | static int stringK (FuncState *fs, TString *s) { |
| 575 | TValue o; |
| 576 | setsvalue(fs->ls->L, &o, s); |
| 577 | return addk(fs, &o, &o); /* use string itself as key */ |
| 578 | } |
| 579 | |
| 580 | |
| 581 | /* |
no test coverage detected