Move the ignore error question mark to after the pound symbol

This commit is contained in:
2024-02-07 21:42:03 -08:00
parent 703e55df04
commit c4adff6f9a
3 changed files with 307 additions and 301 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -75,7 +75,7 @@ EndTag = "#!" name:Ident {
}, nil
}
ExprTag = "#(" item:Expr ')' ignoreErr:'?'? {
ExprTag = '#' ignoreErr:'?'? '(' item:Expr ')' {
return ast.ExprTag{
Value: item.(ast.Node),
IgnoreError: ignoreErr != nil,