| 1392 | |
| 1393 | |
| 1394 | static int cond (LexState *ls) { |
| 1395 | /* cond -> exp */ |
| 1396 | expdesc v; |
| 1397 | expr(ls, &v); /* read condition */ |
| 1398 | if (v.k == VNIL) v.k = VFALSE; /* 'falses' are all equal here */ |
| 1399 | luaK_goiftrue(ls->fs, &v); |
| 1400 | return v.f; |
| 1401 | } |
| 1402 | |
| 1403 | |
| 1404 | static void gotostat (LexState *ls) { |
no test coverage detected