diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-12 15:17:52 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-12 15:35:04 -0700 |
commit | 8511544e6be4385a87d2111c87f7f397c63c43ff (patch) | |
tree | 5f07578e38dd09e21d16108704c1190563bc1dc6 | |
parent | bad885170f286ff5feb91160a60efcd6f77872d0 (diff) |
scanner: Downgrade non-increasing version error to warning
Commit 99a72777f96f63e4e25dc528bb37115424adac59 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.
-rw-r--r-- | src/scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.c b/src/scanner.c index 80c466e..b6c8a8d 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -409,7 +409,7 @@ start_element(void *data, const char *element_name, const char **atts) } 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; message->since = version; |