[svn] Use '"' rather than '\"' in assert.

This commit is contained in:
hniksic 2000-12-13 05:37:37 -08:00
parent 28b5cd706f
commit b84f96df34
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
* html-parse.c (advance_declaration): MSVC assert() chokes on
'\"'. Use '"' instead.
2000-12-11 Hrvoje Niksic <hniksic@arsdigita.com>
* utils.c (xfree_real): Removed.

View File

@ -433,7 +433,7 @@ advance_declaration (const char *beg, const char *end)
state = AC_S_DEFAULT;
break;
case AC_S_QUOTE1:
assert (ch == '\'' || ch == '\"');
assert (ch == '\'' || ch == '"');
quote_char = ch; /* cheating -- I really don't feel like
introducing more different states for
different quote characters. */