** Check that next token is 'c' and skip it. */
| 114 | ** Check that next token is 'c' and skip it. |
| 115 | */ |
| 116 | static void checknext (LexState *ls, int c) { |
| 117 | check(ls, c); |
| 118 | luaX_next(ls); |
| 119 | } |
| 120 | |
| 121 | |
| 122 | #define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); } |