summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 17:20:19 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 17:20:19 +0000
commit1d8b0aad719898be0f1b8a862be41c2b51075c80 (patch)
tree1efac87b00dba4be396a3aa9ef1c45e023272ff0 /src/utils
parent03c0b36fdb90960b4a4c1e6f86084c850463195b (diff)
downloadlibcss-1d8b0aad719898be0f1b8a862be41c2b51075c80.tar.gz
libcss-1d8b0aad719898be0f1b8a862be41c2b51075c80.tar.bz2
Rework handling of imported stylesheets.
No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets. svn path=/trunk/libcss/; revision=6504
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/errors.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/errors.c b/src/utils/errors.c
index b5b4792..c53a442 100644
--- a/src/utils/errors.c
+++ b/src/utils/errors.c
@@ -44,6 +44,9 @@ const char *css_error_to_string(css_error error)
case CSS_EOF:
result = "EOF encountered";
break;
+ case CSS_IMPORTS_PENDING:
+ result = "Imports pending";
+ break;
}
return result;