(type)
| 341 | } |
| 342 | function commasep(what, end) { |
| 343 | function proceed(type) { |
| 344 | if (type == ",") return cont(what, proceed); |
| 345 | if (type == end) return cont(); |
| 346 | return cont(expect(end)); |
| 347 | } |
| 348 | return function(type) { |
| 349 | if (type == end) return cont(); |
| 350 | else return pass(what, proceed); |