summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2004-07-01 20:27:49 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2004-07-01 20:27:49 +0000
commit4cca5c72edb8c342b35c83333ec3675c26b88d9a (patch)
tree40e86e90275cec19bf41568cb3df17ea57befbef /css
parent2a636f53b381eed056e522f2f84fe4609acbc9a5 (diff)
downloadnetsurf-4cca5c72edb8c342b35c83333ec3675c26b88d9a.tar.gz
netsurf-4cca5c72edb8c342b35c83333ec3675c26b88d9a.tar.bz2
[project @ 2004-07-01 20:27:49 by joty]
Log the CSS URL too when there is a syntax error detected. svn path=/import/netsurf/; revision=1036
Diffstat (limited to 'css')
-rw-r--r--css/css.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/css/css.c b/css/css.c
index 66d0c7d4d..37e000370 100644
--- a/css/css.c
+++ b/css/css.c
@@ -286,8 +286,9 @@ bool css_convert(struct content *c, int width, int height)
token_data.length = current - token_text;
css_parser_(parser, token, token_data, &param);
if (param.syntax_error) {
- LOG(("syntax error near offset %i",
- token_text - source_data));
+ LOG(("syntax error near offset %i (%s)",
+ token_text - source_data,
+ c->url));
param.syntax_error = false;
} else if (param.memory_error) {
LOG(("out of memory"));