mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
preproc.c: Fix OpenWatcom compiler error
It doesn't like when we mess scope of variables declaration. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
db6b9cfa62
commit
329e9665eb
@ -1422,7 +1422,6 @@ static ExpDef *new_ExpDef(int exp_type)
|
||||
*/
|
||||
static ExpInv *new_ExpInv(int exp_type, ExpDef *ed)
|
||||
{
|
||||
unique ++;
|
||||
ExpInv *ei = nasm_malloc(sizeof(ExpInv));
|
||||
ei->prev = NULL;
|
||||
ei->type = exp_type;
|
||||
@ -1436,7 +1435,7 @@ static ExpInv *new_ExpInv(int exp_type, ExpDef *ed)
|
||||
ei->nparam = 0;
|
||||
ei->rotate = 0;
|
||||
ei->paramlen = NULL;
|
||||
ei->unique = unique;
|
||||
ei->unique = ++unique;
|
||||
ei->emitting = false;
|
||||
ei->lineno = 0;
|
||||
if ((istk->mmac_depth < 1) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user