diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-07-01 20:27:49 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-07-01 20:27:49 +0000 |
commit | 4cca5c72edb8c342b35c83333ec3675c26b88d9a (patch) | |
tree | 40e86e90275cec19bf41568cb3df17ea57befbef /css | |
parent | 2a636f53b381eed056e522f2f84fe4609acbc9a5 (diff) | |
download | netsurf-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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, ¶m); 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")); |