summaryrefslogtreecommitdiffstats
path: root/hc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-10-05 21:26:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-10-05 21:26:09 -0700
commite39dea5833abe29b7f6b9ba5d55f93b553a7cded (patch)
tree5e87f46369e075e8a47c8a5b97958e6cf934db63 /hc.h
parente022ebd1f2b414837b60f434e6db26e2c999207a (diff)
downloadhc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.tar.gz
hc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.tar.bz2
hc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.zip
Attribute filtering implemented.
Diffstat (limited to 'hc.h')
-rw-r--r--hc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hc.h b/hc.h
index 60e9dea..7a9eecf 100644
--- a/hc.h
+++ b/hc.h
@@ -3,6 +3,7 @@ typedef enum {
tok_eof = 0,
tok_doctype = 256,
tok_text,
+ tok_wsp,
tok_el_unknown,
tok_el_a,
tok_el_abbr,
@@ -219,7 +220,8 @@ typedef enum {
typedef struct {
int type;
- int is_tag;
+ int is_el;
+ int is_at;
int is_close;
char *lexeme;
} token_t;