| 963 | |
| 964 | |
| 965 | static int cond (LexState *ls) { |
| 966 | /* cond -> exp */ |
| 967 | expdesc v; |
| 968 | expr(ls, &v); /* read condition */ |
| 969 | if (v.k == VNIL) v.k = VFALSE; /* `falses' are all equal here */ |
| 970 | luaK_goiftrue(ls->fs, &v); |
| 971 | return v.f; |
| 972 | } |
| 973 | |
| 974 | |
| 975 | static void breakstat (LexState *ls) { |