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