From 85bc85110a0ac78b19ad9e9a4d7baa45b3ef192a Mon Sep 17 00:00:00 2001 From: Peter Kalvin <689796+klvnptr@users.noreply.github.com> Date: Fri, 2 Apr 2021 10:09:55 +0200 Subject: [PATCH] Update main.go @ was missing for successful bool capture. without @ looks like Empty is always false. --- _examples/microc/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/microc/main.go b/_examples/microc/main.go index 1f7e8535..da063043 100644 --- a/_examples/microc/main.go +++ b/_examples/microc/main.go @@ -116,7 +116,7 @@ type Stmt struct { WhileStmt *WhileStmt `| @@` Block *Stmts `| "{" @@ "}"` Expr *Expr `| @@` - Empty bool `| ";"` + Empty bool `| @";"` } type FunBody struct {