]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/mothra/html.syntax.c
merge
[plan9front.git] / sys / src / cmd / mothra / html.syntax.c
1 #include <u.h>
2 #include <libc.h>
3 #include <draw.h>
4 #include <event.h>
5 #include <panel.h>
6 #include "mothra.h"
7 #include "html.h"
8 Tag tag[]={
9 [Tag_a]         "a",            END,
10 [Tag_abbr]      "abbr",         END,
11 [Tag_acronym]   "acronym",      END,
12 [Tag_address]   "address",      END,
13 [Tag_applet]    "applet",       NOEND,
14 [Tag_audio]     "audio",        NOEND,
15 [Tag_b]         "b",            END,
16 [Tag_base]      "base",         NOEND,
17 [Tag_blockquot] "blockquote",   END,
18 [Tag_body]      "body",         END,    /* OPTEND */
19 [Tag_br]        "br",           NOEND,
20 [Tag_button]    "button",       END,
21 [Tag_center]    "center",       END,
22 [Tag_cite]      "cite",         END,
23 [Tag_code]      "code",         END,
24 [Tag_comment]   "!--",          NOEND,
25 [Tag_dd]        "dd",           NOEND,  /* OPTEND */
26 [Tag_dfn]       "dfn",          END,
27 [Tag_dir]       "dir",          END,
28 [Tag_div]       "div",  NOEND,  /* OPTEND */
29 [Tag_dl]        "dl",           END,
30 [Tag_dt]        "dt",           NOEND,  /* OPTEND */
31 [Tag_em]        "em",           END,
32 [Tag_embed]     "embed",        NOEND,
33 [Tag_end]       0,              ERR,
34 [Tag_font]      "font",         END,
35 [Tag_form]      "form",         END,
36 [Tag_frame]     "frame",        NOEND,
37 [Tag_h1]        "h1",           END,
38 [Tag_h2]        "h2",           END,
39 [Tag_h3]        "h3",           END,
40 [Tag_h4]        "h4",           END,
41 [Tag_h5]        "h5",           END,
42 [Tag_h6]        "h6",           END,
43 [Tag_head]      "head",         END,    /* OPTEND */
44 [Tag_hr]        "hr",           NOEND,
45 [Tag_html]      "html",         END,    /* OPTEND */
46 [Tag_i]         "i",            END,
47 [Tag_iframe]    "iframe",       NOEND,
48 [Tag_img]       "img",          NOEND,
49 [Tag_input]     "input",        NOEND,
50 [Tag_isindex]   "isindex",      NOEND,
51 [Tag_kbd]       "kbd",          END,
52 [Tag_key]       "key",          END,
53 [Tag_li]        "li",           NOEND,  /* OPTEND */
54 [Tag_link]      "link",         NOEND,
55 [Tag_listing]   "listing",      END,
56 [Tag_menu]      "menu",         END,
57 [Tag_meta]      "meta",         NOEND,
58 [Tag_nextid]    "nextid",       NOEND,
59 [Tag_object]    "object",       END,
60 [Tag_ol]        "ol",           END,
61 [Tag_option]    "option",       NOEND,  /* OPTEND */
62 [Tag_p]         "p",            NOEND,  /* OPTEND */
63 [Tag_plaintext] "plaintext",    NOEND,
64 [Tag_pre]       "pre",          END,
65 [Tag_samp]      "samp",         END,
66 [Tag_script]    "script",       END,
67 [Tag_select]    "select",       END,
68 [Tag_strong]    "strong",       END,
69 [Tag_style]     "style",        END,
70 [Tag_source]    "source",       NOEND,
71 [Tag_table]     "table",        END,
72 [Tag_td]        "td",           END,
73 [Tag_textarea]  "textarea",     END,
74 [Tag_title]     "title",        END,
75 [Tag_tr]        "tr",           END,
76 [Tag_tt]        "tt",           END,
77 [Tag_u]         "u",            END,
78 [Tag_ul]        "ul",           END,
79 [Tag_var]       "var",          END,
80 [Tag_video]     "video",        NOEND,
81 [Tag_xmp]       "xmp",          END,
82 };