mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	scanner: Downgrade non-increasing version error to warning
Commit 99a72777f9 introduced a new error
for when the 'since' version decreases.  It also reset the version for
messages without a version to 1.  Versioning semantics in the spec files
was a little under-specified and we don't want to break projects caught in
this grey zone.
This commits replaces previous configure.ac as the 1.4.93 tag and the
final 1.5 RC.
			
			
This commit is contained in:
		
							parent
							
								
									bad885170f
								
							
						
					
					
						commit
						8511544e6b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -409,7 +409,7 @@ start_element(void *data, const char *element_name, const char **atts)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (version < ctx->interface->since)
 | 
							if (version < ctx->interface->since)
 | 
				
			||||||
			fail(&ctx->loc, "since version not increasing\n");
 | 
								warn(&ctx->loc, "since version not increasing\n");
 | 
				
			||||||
		ctx->interface->since = version;
 | 
							ctx->interface->since = version;
 | 
				
			||||||
		message->since = version;
 | 
							message->since = version;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue