(what, end)
| 453 | if (type == "(") return pass(functiondef); |
| 454 | } |
| 455 | function commasep(what, end) { |
| 456 | function proceed(type) { |
| 457 | if (type == ",") { |
| 458 | var lex = cx.state.lexical; |
| 459 | if (lex.info == "call") lex.pos = (lex.pos || 0) + 1; |
| 460 | return cont(what, proceed); |
| 461 | } |
| 462 | if (type == end) return cont(); |
| 463 | return cont(expect(end)); |
| 464 | } |
| 465 | return function(type) { |
| 466 | if (type == end) return cont(); |
| 467 | return pass(what, proceed); |
| 468 | }; |
| 469 | } |
| 470 | function contCommasep(what, end, info) { |
| 471 | for (var i = 3; i < arguments.length; i++) |
| 472 | cx.cc.push(arguments[i]); |
no test coverage detected