| 237 | return pass(block); |
| 238 | } |
| 239 | function record_of(comb) { |
| 240 | function ro(type) { |
| 241 | if (content == "mutable" || content == "with") {cx.marked = "keyword"; return cont(ro);} |
| 242 | if (content.match(/^\w*$/)) {cx.marked = "variable"; return cont(ro);} |
| 243 | if (type == ":") return cont(comb, ro); |
| 244 | if (type == "}") return cont(); |
| 245 | return cont(ro); |
| 246 | } |
| 247 | return ro; |
| 248 | } |
| 249 | function blockvars(type) { |
| 250 | if (type == "name") {cx.marked = "def"; return cont(blockvars);} |
| 251 | if (type == "op" && content == "|") return cont(); |