From 5567ae6e4b3f17a7b06a05863d57df01a23dc638 Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Tue, 30 Oct 2007 16:58:35 +0000 Subject: [PATCH] Add debug log call for tagfile errors. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2672 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/framework/tagfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/framework/tagfile.c b/lib/framework/tagfile.c index 95a9f5768..1644ba513 100644 --- a/lib/framework/tagfile.c +++ b/lib/framework/tagfile.c @@ -51,7 +51,7 @@ do { \ tag_error = true; \ snprintf(errbuf, sizeof(errbuf), __VA_ARGS__); \ errbuf[sizeof(errbuf) - 1] = '\0'; /* Guarantee to nul-terminate */ \ - assert(false); \ + ASSERT(!"tagfile error", errbuf); \ } while(0) // function to printf into errbuf the calling strack for nested groups on error