[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
This commit is contained in:
John Tytgat 2004-07-01 20:27:49 +00:00
parent 2a636f53b3
commit 4cca5c72ed
1 changed files with 3 additions and 2 deletions

View File

@ -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"));