| 1211 | |
| 1212 | |
| 1213 | static int cond(LexState *ls) { |
| 1214 | /* cond -> exp */ |
| 1215 | expdesc v; |
| 1216 | expr(ls, &v); /* read condition */ |
| 1217 | if (v.k == VNIL) v.k = VFALSE; /* 'falses' are all equal here */ |
| 1218 | luaK_goiftrue(ls->fs, &v); |
| 1219 | return v.f; |
| 1220 | } |
| 1221 | |
| 1222 | |
| 1223 | static void gotostat(LexState *ls, int pc) { |
no test coverage detected