mirror of
https://github.com/mirror/wget.git
synced 2025-01-07 19:00:30 +08: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>
|
2001-09-29 Christian Fraenkel <c.fraenkel@gmx.net>
|
||||||
|
|
||||||
* http.c (gethttp): print debug output for errors occuring during
|
* 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;
|
state = AC_S_DEFAULT;
|
||||||
break;
|
break;
|
||||||
case AC_S_QUOTE1:
|
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
|
quote_char = ch; /* cheating -- I really don't feel like
|
||||||
introducing more different states for
|
introducing more different states for
|
||||||
different quote characters. */
|
different quote characters. */
|
||||||
|
Loading…
Reference in New Issue
Block a user