* etc.c (next_status): after = is R_ST_VALUE
R_ST_VALUE > => R_ST_NORMAL R_ST_VALUE SP => R_ST_TAG (read_token): R_ST_VALUE (correct_irrtag): R_ST_VALUE * rm.h (R_ST_VALUE): added (ST_IS_REAL_TAG): rewrite (ST_IS_COMMENT): deleted (ST_IS_TAG): deleted * parsetagx.c (parse_tag): skip too long tagname skip too long attrname if attrvalue has quote char, need reconstruct if unknown attr, need reconstruct * table.c (visible_length): R_ST_VALUE From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
7
fm.h
7
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.105 2003/01/22 16:16:20 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.106 2003/01/23 18:01:06 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -623,10 +623,9 @@ struct readbuffer {
|
||||
#define R_ST_NCMNT2 12 /* comment -- */
|
||||
#define R_ST_NCMNT3 13 /* comment -- space */
|
||||
#define R_ST_IRRTAG 14 /* within irregular tag */
|
||||
#define R_ST_VALUE 15 /* within tag attribule value */
|
||||
|
||||
#define ST_IS_REAL_TAG(s) ((s)==R_ST_TAG||(s)==R_ST_TAG0||(s)==R_ST_EQL)
|
||||
#define ST_IS_COMMENT(s) ((s)>=R_ST_CMNT1)
|
||||
#define ST_IS_TAG(s) ((s)!=R_ST_NORMAL&&(s)!=R_ST_AMP&&!ST_IS_COMMENT(s)&&(s)!=R_ST_EOL)
|
||||
#define ST_IS_REAL_TAG(s) ((s)==R_ST_TAG||(s)==R_ST_TAG0||(s)==R_ST_EQL||(s)==R_ST_VALUE)
|
||||
|
||||
/* is this '<' really means the beginning of a tag? */
|
||||
#define REALLY_THE_BEGINNING_OF_A_TAG(p) \
|
||||
|
||||
Reference in New Issue
Block a user