diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-04-27 01:31:02 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-04-27 01:31:02 +0200 |
commit | 6153580a13e7e7c48e38fa446572c8adcae08084 (patch) | |
tree | 9be08616aed124c67159bf71fccd3a286bc0fe81 /src/source-parser.c | |
parent | c5e4f4c2d29831151bdce1802787b9cf012c3e5e (diff) | |
download | blogc-6153580a13e7e7c48e38fa446572c8adcae08084.tar.gz blogc-6153580a13e7e7c48e38fa446572c8adcae08084.tar.bz2 blogc-6153580a13e7e7c48e38fa446572c8adcae08084.zip |
Revert "*: use squareball error infrastructure"
This reverts commit a2b3551dfb9460470bd79f5648bf597c517c40d4.
Diffstat (limited to 'src/source-parser.c')
-rw-r--r-- | src/source-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/source-parser.c b/src/source-parser.c index 6e026d2..67c3717 100644 --- a/src/source-parser.c +++ b/src/source-parser.c @@ -31,7 +31,7 @@ typedef enum { sb_trie_t* -blogc_source_parse(const char *src, size_t src_len, sb_error_t **err) +blogc_source_parse(const char *src, size_t src_len, blogc_error_t **err) { if (err == NULL || *err != NULL) return NULL; @@ -97,7 +97,7 @@ blogc_source_parse(const char *src, size_t src_len, sb_error_t **err) ((current - start == 13) && (0 == strncmp("BLOGC_VERSION", src + start, 13)))) { - *err = sb_error_new_printf(BLOGC_ERROR_SOURCE_PARSER, + *err = blogc_error_new_printf(BLOGC_ERROR_SOURCE_PARSER, "'%s' variable is forbidden in source files. It will " "be set for you by the compiler.", key); break; |