| 1526 | |
| 1527 | |
| 1528 | static int cond (LexState *ls) { |
| 1529 | /* cond -> exp */ |
| 1530 | expdesc v; |
| 1531 | expr(ls, &v); /* read condition */ |
| 1532 | if (v.k == VNIL) v.k = VFALSE; /* 'falses' are all equal here */ |
| 1533 | luaK_goiftrue(ls->fs, &v); |
| 1534 | return v.f; |
| 1535 | } |
| 1536 | |
| 1537 | |
| 1538 | static void gotostat (LexState *ls, int line) { |