[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:
parent
2a636f53b3
commit
4cca5c72ed
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue