mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	asm/parser.c -- Fix typo in testing for register
It should be EXPR_REG_END referred when testing
for register present.
A typo in 472a7c1d17
https://bugzilla.nasm.us/show_bug.cgi?id=3392375
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
			
			
This commit is contained in:
		| @@ -390,7 +390,7 @@ static int value_to_extop(expr * vect, extop *eop, int32_t myseg) | ||||
|         if (!vect->value)       /* zero term, safe to ignore */ | ||||
|             continue; | ||||
|  | ||||
|         if (vect->type < EXPR_SIMPLE)  /* false if a register is present */ | ||||
|         if (vect->type <= EXPR_REG_END) /* false if a register is present */ | ||||
|             return -1; | ||||
|  | ||||
|         if (vect->type == EXPR_UNKNOWN) /* something we can't resolve yet */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user