[prev in list] [next in list] [prev in thread] [next in thread]
List: elinks-cvs
Subject: [ELinks] elinks (ECMASCRIPT) - jonas: Always skip the element toke...
From: cvs () pasky ! ji ! cz
Date: 2004-02-28 18:48:44
Message-ID: 20040228184844.19797.qmail () machine ! sinus ! cz
[Download RAW message or body]
This is an automated notification of a change to the ELinks CVS tree.
Author: jonas
Module: elinks
Tag: ECMASCRIPT
Date: Sat Feb 28 18:48:44 2004 GMT
---- Log message:
Always skip the element token else bad things will happen.
---- Files affected:
elinks/src/document/sgml:
parser.c (1.1.2.41 -> 1.1.2.42)
http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/document/sgml/parser.c.diff?r1=1.1.2.41&r2=1.1.2.42&f=u
---- Diffs:
elinks/src/document/sgml/parser.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: elinks/src/document/sgml/parser.c
diff -u elinks/src/document/sgml/parser.c:1.1.2.41 \
elinks/src/document/sgml/parser.c:1.1.2.42
--- elinks/src/document/sgml/parser.c:1.1.2.41 Sat Feb 28 19:47:51 2004
+++ elinks/src/document/sgml/parser.c Sat Feb 28 19:48:39 2004
@@ -184,8 +184,10 @@
case SGML_TOKEN_ELEMENT:
case SGML_TOKEN_ELEMENT_BEGIN:
if (!add_sgml_element(navigator, token)) {
- if (token->type == SGML_TOKEN_ELEMENT)
+ if (token->type == SGML_TOKEN_ELEMENT) {
+ skip_scanner_token(scanner);
break;
+ }
skip_sgml_tokens(scanner, SGML_TOKEN_TAG_END);
break;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic