| 287 | return cont(tydef); |
| 288 | } |
| 289 | function enumdef(type) { |
| 290 | if (type == "name") {cx.marked = "def"; return cont(enumdef);} |
| 291 | if (content == "<") return cont(typarams, enumdef); |
| 292 | if (content == "=") return cont(typecx, rtype, valcx, endstatement); |
| 293 | if (type == "{") return cont(pushlex("}"), typecx, enumblock, valcx, poplex); |
| 294 | return cont(enumdef); |
| 295 | } |
| 296 | function enumblock(type) { |
| 297 | if (type == "}") return cont(); |
| 298 | if (type == "(") return cont(pushlex(")"), commasep(rtype, ")"), poplex, enumblock); |