| 500 | |
| 501 | |
| 502 | static te_expr *list(state *s) { |
| 503 | /* <list> = <expr> {"," <expr>} */ |
| 504 | te_expr *ret = expr(s); |
| 505 | |
| 506 | while (s->type == TOK_SEP) { |
| 507 | next_token(s); |
| 508 | ret = NEW_EXPR(TE_FUNCTION2 | TE_FLAG_PURE, ret, expr(s)); |
| 509 | ret->function = comma; |
| 510 | } |
| 511 | |
| 512 | return ret; |
| 513 | } |
| 514 | |
| 515 | |
| 516 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) |
no test coverage detected