| 1385 | |
| 1386 | |
| 1387 | static int cond (LexState *ls) { |
| 1388 | /* cond -> exp */ |
| 1389 | expdesc v; |
| 1390 | expr(ls, &v); /* read condition */ |
| 1391 | if (v.k == VNIL) v.k = VFALSE; /* 'falses' are all equal here */ |
| 1392 | luaK_goiftrue(ls->fs, &v); |
| 1393 | return v.f; |
| 1394 | } |
| 1395 | |
| 1396 | |
| 1397 | static void gotostat (LexState *ls) { |
no test coverage detected