aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-23 18:01:01 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-23 18:01:01 +0000
commite718702d1281d1e92d162d9846081364ebb5f4df (patch)
tree350ea449c040ceb034822f742c7774b09e811c8c /fm.h
parent[w3m-dev 03680] showProgress() on fast system (diff)
downloadw3m-e718702d1281d1e92d162d9846081364ebb5f4df.tar.gz
w3m-e718702d1281d1e92d162d9846081364ebb5f4df.zip
* 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>
Diffstat (limited to '')
-rw-r--r--fm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fm.h b/fm.h
index 91c7897..a4c135c 100644
--- a/fm.h
+++ b/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) \