From 8687aa9a3e7e97f341a518ebdfcc55e25c52fabf Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sat, 10 Nov 2012 15:43:43 +0100 Subject: [PATCH] Shouldn't require a 'local' keyword for local fieldpointers --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index dc42884..0bd3d7f 100644 --- a/parser.c +++ b/parser.c @@ -1597,7 +1597,7 @@ onerr: static bool parse_statement(parser_t *parser, ast_block *block, ast_expression **out) { - if (parser->tok == TOKEN_TYPENAME) + if (parser->tok == TOKEN_TYPENAME || parser->tok == '.') { /* local variable */ if (!block) { -- 2.39.2