summaryrefslogtreecommitdiffstats
path: root/hc.h
diff options
context:
space:
mode:
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;