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