From 1d8b0aad719898be0f1b8a862be41c2b51075c80 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 14 Feb 2009 17:20:19 +0000 Subject: 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 --- src/utils/errors.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils') 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; -- cgit v1.2.3