From 78834dfb07cfc1c135fe071ceeb0c286e1d2d08d Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 3 Dec 2021 15:29:57 +0100 Subject: [PATCH] Make "at { ... }" require the braces --- packages/compiler/src/compiler/grammar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler/src/compiler/grammar.ts b/packages/compiler/src/compiler/grammar.ts index 97178d3..858c7c2 100644 --- a/packages/compiler/src/compiler/grammar.ts +++ b/packages/compiler/src/compiler/grammar.ts @@ -320,7 +320,7 @@ export class SyndicateParser { o.body = []; return seq(atom('at'), bind(o, 'target', this.expr()), - this.statement(o.body)); + this.block(o.body)); }); // Principal: none