mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 20:44:16 +00:00 
			
		
		
		
	 8a9f1e1d9c
			
		
	
	
		8a9f1e1d9c
		
	
	
	
	
		
			
			Change the 'if' condition strings to be C-agnostic. It will accept '[A-Z][A-Z0-9_]*' identifiers. This allows to express configuration conditions in other languages (Rust or Python for ex) or other more suitable forms. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: John Snow <jsnow@redhat.com> Message-Id: <20210804083105.97531-11-marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Rebased with semantic conflict in redefined-event.json] Signed-off-by: Markus Armbruster <armbru@redhat.com>
		
			
				
	
	
		
			3 lines
		
	
	
		
			149 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			149 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| union-branch-if-invalid.json: In union 'Uni':
 | |
| union-branch-if-invalid.json:4: 'if' condition '' of 'data' member 'branch1' is not a valid identifier
 |