mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Issue a specific suppressible warning if we encounter the PTR keyword. This usually indicates someone mistakenly using MASM syntax in NASM. This introduces a generic infrastructure for issuing warnings for such keywords. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
		
			
				
	
	
		
			5 lines
		
	
	
		
			90 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			90 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| 	;;  This should warn but still assemble, as the code is correct
 | |
| 
 | |
| 	mov eax,dword ptr
 | |
| ptr:
 |