mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	This would previously complain about an undefined internal macro if the unapplied macro had not already been used. If it had, it would incorrectly use the arguments from the previous invocation.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			162 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			162 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| logger -expect error "Expected to find '\(' to begin macro arguments for 'foo', but instead found '\\x0a'" 1
 | |
| read_verilog -sv <<EOT
 | |
| `define foo(a=1) (a)
 | |
| `foo
 | |
| EOT
 |