Actually parse groups (!)

This commit is contained in:
Tony Garnock-Jones 2024-05-08 11:20:46 +02:00
parent c8ce125192
commit 4e5e64f0a6
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ export class Reader extends ReaderBase<never> {
this.state.error(`Invalid # syntax: ${ch}`, startPos);
}
}
case '(': return c.push(this.readCompound(new Group(), ')'), startPos);
case '<': return c.push(this.readCompound(new Record(), '>'), startPos);
case '[': return c.push(this.readCompound(new Sequence(), ']'), startPos);
case '{': return c.push(this.readCompound(new Block(), '}'), startPos);