mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Use 0x22 instead of '"' or '\"'.
This commit is contained in:
parent
dc0070ca2d
commit
90cdb82942
@ -1,3 +1,9 @@
|
||||
2001-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* html-parse.c (advance_declaration): Use 0x22 instead of '"' or
|
||||
'\"'. Different compilers' assert macros are broken in different
|
||||
ways.
|
||||
|
||||
2001-09-29 Christian Fraenkel <c.fraenkel@gmx.net>
|
||||
|
||||
* http.c (gethttp): print debug output for errors occuring during
|
||||
|
@ -432,7 +432,9 @@ advance_declaration (const char *beg, const char *end)
|
||||
state = AC_S_DEFAULT;
|
||||
break;
|
||||
case AC_S_QUOTE1:
|
||||
assert (ch == '\'' || ch == '"');
|
||||
/* We must use 0x22 because broken assert macros choke on
|
||||
'"' and '\"'. */
|
||||
assert (ch == '\'' || ch == 0x22);
|
||||
quote_char = ch; /* cheating -- I really don't feel like
|
||||
introducing more different states for
|
||||
different quote characters. */
|
||||
|
Loading…
Reference in New Issue
Block a user