aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 00:04:10 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 00:04:10 -0200
commit56736b7b39218c10efd64f305f7a35df9d4bc0af (patch)
treed48ededd476a1994cb84fcc865e6346a8f60ba1d /src/error.c
parentd29c85ef1751cb46c579b3292f676605d9f86951 (diff)
downloadblogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.tar.gz
blogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.tar.bz2
blogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.zip
content-parser: handle errors (that are handler as warnings) in directives
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 28396f8..e472d1f 100644
--- a/src/error.c
+++ b/src/error.c
@@ -125,6 +125,9 @@ blogc_error_print(blogc_error_t *err)
case BLOGC_WARNING_DATETIME_PARSER:
fprintf(stderr, "blogc: warning: datetime: %s\n", err->msg);
break;
+ case BLOGC_WARNING_CONTENT_PARSER:
+ fprintf(stderr, "blogc: warning: content: %s\n", err->msg);
+ break;
default:
fprintf(stderr, "blogc: error: %s\n", err->msg);
}