(type)
| 329 | if (type == ",") return cont(vardef1); |
| 330 | } |
| 331 | function forspec1(type) { |
| 332 | if (type == "var") return cont(vardef1, expect(";"), forspec2); |
| 333 | if (type == ";") return cont(forspec2); |
| 334 | if (type == "variable") return cont(formaybein); |
| 335 | return cont(forspec2); |
| 336 | } |
| 337 | function formaybein(type, value) { |
| 338 | if (value == "in") return cont(expression); |
| 339 | return cont(maybeoperator, forspec2); |