mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
working on operator translation
This commit is contained in:
parent
7185366ee5
commit
9f54ea6643
1 changed files with 4 additions and 0 deletions
4
parser.c
4
parser.c
|
@ -209,6 +209,10 @@ static sy_elem syop(const oper_info *op) {
|
||||||
|
|
||||||
static bool parser_sy_pop(parser_t *parser, shynt *sy)
|
static bool parser_sy_pop(parser_t *parser, shynt *sy)
|
||||||
{
|
{
|
||||||
|
if (!sy->ops_count) {
|
||||||
|
parseerror(parser, "internal error: missing operator");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue