diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-10-05 11:26:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-10-05 11:26:38 -0700 |
commit | e022ebd1f2b414837b60f434e6db26e2c999207a (patch) | |
tree | 69f4b0da06f9b44642bac62906cddcd1005e8924 /hc.h | |
parent | 33c2ad9765e7dc34b9c645b304cfd51524056d9e (diff) | |
download | hc-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |