mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-01 12:20:49 +00:00
Shouldn't require a 'local' keyword for local fieldpointers
This commit is contained in:
parent
42b9848375
commit
8687aa9a3e
1 changed files with 1 additions and 1 deletions
2
parser.c
2
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) {
|
||||
|
|
Loading…
Reference in a new issue