From b84f96df34bc2dafb420a925e5a95ddaf242ae0a Mon Sep 17 00:00:00 2001 From: hniksic Date: Wed, 13 Dec 2000 05:37:37 -0800 Subject: [PATCH] [svn] Use '"' rather than '\"' in assert. --- src/ChangeLog | 5 +++++ src/html-parse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d61b223d..a7181c0c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-12-13 Hrvoje Niksic + + * html-parse.c (advance_declaration): MSVC assert() chokes on + '\"'. Use '"' instead. + 2000-12-11 Hrvoje Niksic * utils.c (xfree_real): Removed. diff --git a/src/html-parse.c b/src/html-parse.c index bbff6e46..c6979fcb 100644 --- a/src/html-parse.c +++ b/src/html-parse.c @@ -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. */