mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 18:30:52 +00:00
builtins are negative
This commit is contained in:
parent
38edf7c1bd
commit
8471d36aab
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -219,7 +219,7 @@ bool parser_do(parser_t *parser)
|
|||
}
|
||||
|
||||
if (func)
|
||||
func->builtin = parser_token(parser)->constval.i;
|
||||
func->builtin = -parser_token(parser)->constval.i;
|
||||
} else if (parser->tok == '{') {
|
||||
/* function body */
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue