| 1404 | |
| 1405 | |
| 1406 | static int cond (LexState *ls) { |
| 1407 | /* cond -> exp */ |
| 1408 | expdesc v; |
| 1409 | expr(ls, &v); /* read condition */ |
| 1410 | if (v.k == VNIL) v.k = VFALSE; /* 'falses' are all equal here */ |
| 1411 | luaK_goiftrue(ls->fs, &v); |
| 1412 | return v.f; |
| 1413 | } |
| 1414 | |
| 1415 | |
| 1416 | static void gotostat (LexState *ls) { |
no test coverage detected