summaryrefslogtreecommitdiffstats
path: root/hc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-10-05 11:26:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-10-05 11:26:38 -0700
commite022ebd1f2b414837b60f434e6db26e2c999207a (patch)
tree69f4b0da06f9b44642bac62906cddcd1005e8924 /hc.h
parent33c2ad9765e7dc34b9c645b304cfd51524056d9e (diff)
downloadhc-e022ebd1f2b414837b60f434e6db26e2c999207a.tar.gz
hc-e022ebd1f2b414837b60f434e6db26e2c999207a.tar.bz2
hc-e022ebd1f2b414837b60f434e6db26e2c999207a.zip
Ground work for supporting attribute filtering.
Diffstat (limited to 'hc.h')
-rw-r--r--hc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hc.h b/hc.h
index 05bedfb..60e9dea 100644
--- a/hc.h
+++ b/hc.h
@@ -94,6 +94,7 @@ typedef enum {
tok_el_ul,
tok_el_var,
tok_at_unknown,
+ tok_at_abbr,
tok_at_accept,
tok_at_accept_charset,
tok_at_accesskey,
@@ -223,5 +224,10 @@ typedef struct {
char *lexeme;
} token_t;
+typedef struct {
+ int type;
+ int *attr;
+} allowed_el_t;
+
extern int yylex(void);
extern char *yytext;