2 syntax "vhdl" "\.vhdl?$"
5 color type (i) "\b(string|integer|natural|positive|(un)?signed|std_u?logic(_vector)?|bit(_vector)?|boolean|u?x01z?|array|range)\b"
7 ## identifiers (component-, library-names etc.)
8 color identifier (i) "library[ ]+[a-zA-Z_0-9]+"
9 color identifier (i) "use[ ]+[a-zA-Z_0-9\.]+"
10 color identifier (i) "component[ ]+[a-zA-Z_0-9]+"
11 color identifier (i) "(architecture|configuration)[ ]+[a-zA-Z_0-9]+[ ]+of[ ]+[a-zA-Z_0-9]+"
12 color identifier (i) "(entity|package)[ ]+[a-zA-Z_0-9]+[ ]+is"
13 color identifier (i) "end[ ]+((architecture|entity|component|process|package|generate)[ ]+)?[a-zA-Z_0-9]+"
16 color statement (i) "\b(abs|access|after|alias|all|and|architecture|assert|attribute)\b"
17 color statement (i) "\b(begin|block|body|buffer|bus|case|component|configuration|constant)\b"
18 color statement (i) "\b(disconnect|downto|else|elsif|end|entity|exit)\b"
19 color statement (i) "\b(file|for|function|generate|generic|guarded)\b"
20 color statement (i) "\b(if|impure|in|inertial|inout|is)\b"
21 color statement (i) "\b(label|library|linkage|literal|loop|map|mod)\b"
22 color statement (i) "\b(nand|new|next|nor|not|null|of|on|open|or|others|out)\b"
23 color statement (i) "\b(package|port|postponed|procedure|process|pure)\b"
24 color statement (i) "\b(range|record|register|reject|rem|report|return|rol|ror)\b"
25 color statement (i) "\b(select|severity|shared|signal|sla|sll|sra|srl|subtype)\b"
26 color statement (i) "\b(then|to|transport|type|unaffected|units|until|use)\b"
27 color statement (i) "\b(variable|wait|when|while|with|xnor|xor)\b"
30 color statement (i) "'(base|left|right|high|low|pos|val|succ|pred|leftof|rightof|image|(last_)?value)"
31 color statement (i) "'((reverse_)?range|length|ascending|event|stable)"
32 color statement (i) "'(simple|path|instance)_name"
35 color statement (i) "\b(std_match|(rising|falling)_edge|is_x)\b"
36 color statement (i) "\bto_(unsigned|signed|integer|u?x01z?|stdu?logic(vector)?)\b"
39 color statement "(\+|-|\*|/|&|<|>|=|\.|:)"
42 color constant.number (i) "'([0-1]|u|x|z|w|l|h|-)'" "[box]?"([0-1a-fA-F]|u|x|z|w|l|h|-)+""
43 color constant.number (i) "\b[0-9\._]+(e[-]?[0-9]+)?( ?[fpnum]?s)?\b"
44 color constant (i) "\b(true|false)\b"
46 color constant (i) "\b(note|warning|error|failure)\b"
47 color constant.string ""[^"]*""
49 ## Comment highlighting