mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-11 03:13:06 +00:00
Disable the member-of namespace check when -std != gmqcc
This commit is contained in:
parent
d88e3e8f24
commit
7cc1609117
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -1182,7 +1182,7 @@ static ast_expression* parser_expression_leave(parser_t *parser, bool stopatcomm
|
|||
olast = NULL;
|
||||
}
|
||||
|
||||
if (op->id == opid1('.')) {
|
||||
if (op->id == opid1('.') && opts_standard == COMPILER_GMQCC) {
|
||||
/* for gmqcc standard: open up the namespace of the previous type */
|
||||
ast_expression *prevex = sy.out[sy.out_count-1].out;
|
||||
if (!prevex) {
|
||||
|
|
Loading…
Reference in a new issue