| 1167 | |
| 1168 | |
| 1169 | static int cond (LexState *ls) { |
| 1170 | /* cond -> exp */ |
| 1171 | expdesc v; |
| 1172 | expr(ls, &v); /* read condition */ |
| 1173 | if (v.k == VNIL) v.k = VFALSE; /* `falses' are all equal here */ |
| 1174 | luaK_goiftrue(ls->fs, &v); |
| 1175 | return v.f; |
| 1176 | } |
| 1177 | |
| 1178 | |
| 1179 | static void gotostat (LexState *ls, int pc) { |
no test coverage detected