<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language [
<!ENTITY varname "[A-Za-z_][A-Za-z0-9_]*">
<!ENTITY identifier "(?:\b&varname;\b|\\[^\\]*\\)">
<!ENTITY designator "(?:\b&varname;\b|\\[^\\]*\\|"[^"]*")">
<!ENTITY label "\b&varname;(?=\s*:(?!=))">
<!ENTITY bos "\b">
]>
<language name="VHDL" version="16" kateversion="5.62" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl" author="Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de), Luigi Calligaris (luigi.calligaris@stfc.ac.uk)">
<highlighting>
<list name="keywordsToplevel">
<item>file</item>
<item>library</item>
<item>use</item>
<item>with</item>
</list>
<list name="keywords">
<item>access</item>
<item>after</item>
<item>alias</item>
<item>all</item>
<item>array</item>
<item>assert</item>
<item>assume</item>
<item>assume_guarantee</item>
<item>attribute</item>
<item>begin</item>
<item>block</item>
<item>body</item>
<item>bus</item>
<item>case</item>
<item>component</item>
<item>constant</item>
<item>context</item>
<item>cover</item>
<item>default</item>
<item>disconnect</item>
<item>downto</item>
<item>else</item>
<item>elsif</item>
<item>end</item>
<item>fairness</item>
<item>falling_edge</item>
<item>false</item>
<item>file</item>
<item>for</item>
<item>force</item>
<item>function</item>
<item>generate</item>
<item>generic</item>
<item>group</item>
<item>guarded</item>
<item>if</item>
<item>impure</item>
<item>inertial</item>
<item>is</item>
<item>label</item>
<item>linkage</item>
<item>literal</item>
<item>map</item>
<item>new</item>
<item>null</item>
<item>of</item>
<item>on</item>
<item>open</item>
<item>others</item>
<item>package</item>
<item>parameter</item>
<item>port</item>
<item>postponed</item>
<item>procedure</item>
<item>process</item>
<item>property</item>
<item>protected</item>
<item>pure</item>
<item>range</item>
<item>record</item>
<item>register</item>
<item>reject</item>
<item>release</item>
<item>report</item>
<item>rising_edge</item>
<item>select</item>
<item>sequence</item>
<item>severity</item>
<item>signal</item>
<item>shared</item>
<item>strong</item>
<item>subtype</item>
<item>then</item>
<item>to</item>
<item>transport</item>
<item>true</item>
<item>type</item>
<item>use</item>
<item>unaffected</item>
<item>units</item>
<item>until</item>
<item>variable</item>
<item>view</item>
<item>vmode</item>
<item>vprop</item>
<item>vunit</item>
<item>wait</item>
<item>when</item>
<item>with</item>
<item>note</item>
<item>warning</item>
<item>error</item>
<item>failure</item>
<item>in</item>
<item>inout</item>
<item>out</item>
<item>buffer</item>
<item>and</item>
<item>abs</item>
<item>or</item>
<item>xor</item>
<item>xnor</item>
<item>not</item>
<item>mod</item>
<item>nand</item>
<item>nor</item>
<item>rem</item>
<item>rol</item>
<item>ror</item>
<item>sla</item>
<item>sra</item>
<item>sll</item>
<item>srl</item>
</list>
<list name="controls">
<item>exit</item>
<item>next</item>
<item>return</item>
</list>
<list name="signals">
<item>signal</item>
<item>variable</item>
<item>constant</item>
<item>type</item>
<item>attribute</item>
</list>
<list name="range">
<item>to</item>
<item>downto</item>
<item>others</item>
</list>
<list name="timeunits">
<item>fs</item>
<item>ps</item>
<item>ns</item>
<item>us</item>
<item>ms</item>
<item>sec</item>
<item>min</item>
<item>hr</item>
</list>
<list name="types">
<item>bit</item>
<item>bit_vector</item>
<item>character</item>
<item>boolean</item>
<item>boolean_vector</item>
<item>integer</item>
<item>integer_vector</item>
<item>real</item>
<item>real_vector</item>
<item>time</item>
<item>time_vector</item>
<item>delay_length</item>
<item>string</item>
<item>severity_level</item>
<item>positive</item>
<item>natural</item>
<item>file_open_kind</item>
<item>file_open_status</item>
<item>signed</item>
<item>unsigned</item>
<item>unresolved_unsigned</item>
<item>unresolved_signed</item>
<item>line</item>
<item>text</item>
<item>side</item>
<item>width</item>
<item>std_logic</item>
<item>std_logic_vector</item>
<item>std_ulogic</item>
<item>std_ulogic_vector</item>
<item>x01</item>
<item>x01z</item>
<item>ux01</item>
<item>ux01z</item>
<item>qsim_state</item>
<item>qsim_state_vector</item>
<item>qsim_12state</item>
<item>qsim_12state_vector</item>
<item>qsim_strength</item>
<item>mux_bit</item>
<item>mux_vector</item>
<item>reg_bit</item>
<item>reg_vector</item>
<item>wor_bit</item>
<item>wor_vector</item>
</list>
<list name="instantiated">
<item>configuration</item>
<item>component</item>
<item>entity</item>
</list>
<contexts>
<context name="start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<WordDetect attribute="Control" context="entity" insensitive="1" String="entity"/>
<WordDetect attribute="Control" context="configuration" insensitive="1" String="configuration"/>
<WordDetect attribute="Control" context="architecture" insensitive="1" String="architecture"/>
<WordDetect attribute="Control" context="package" insensitive="1" String="package"/>
<WordDetect attribute="Keyword" context="context" insensitive="1" String="context"/>
<keyword attribute="Keyword" context="#stay" String="keywordsToplevel"/>
<WordDetect attribute="Signal" context="type" insensitive="1" String="type"/>
<WordDetect attribute="Redirection" context="function" insensitive="1" String="function"/>
<WordDetect attribute="Keyword" context="procedure" insensitive="1" String="procedure" beginRegion="ProcedureRegion1"/>
<WordDetect attribute="Control" context="component" insensitive="1" String="component"/>
<WordDetect attribute="Keyword" context="view" insensitive="1" String="view" beginRegion="sig"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<keyword attribute="Data Type" context="#stay" String="timeunits"/>
<keyword attribute="Range" context="#stay" String="range"/>
<keyword attribute="Signal" context="signal" String="signals"/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Control" context="#stay" String="controls"/>
<DetectIdentifier attribute="Normal Text"/>
</context>
<context name="package" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop!packagebody" insensitive="true" String="body"/>
<RegExpr attribute="Name" context="package_main" beginRegion="PackageRegion1"
String="(&identifier;)"/>
</context>
<context name="package_main" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="package_is">
<RegExpr attribute="Control" context="#pop#pop" dynamic="1" insensitive="1"
String="&bos;end(\s+package\b)?(\s+%1)?\s*;" endRegion="PackageRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="true"
String="end" endRegion="PackageRegion1"/>
</context>
<context name="package_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!package_decl">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" insensitive="1" String="is"/>
<WordDetect attribute="Keyword" insensitive="1" String="new" context="#pop#pop#pop!package_is_new"/>
</context>
<context name="package_is_new" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!package_is_new_main">
<IncludeRules context="blank"/>
<IncludeRules context="pop_end"/>
<DetectIdentifier attribute="Name" context="#pop!package_is_new_main"/>
<RangeDetect attribute="Name" context="#pop!package_is_new_main" char=""" char1="""/>
<RangeDetect attribute="Name" context="#pop!package_is_new_main" char="\" char1="\"/>
</context>
<context name="package_is_new_main" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop" char=";" endRegion="PackageRegion1"/>
<DetectChar attribute="Operator" char="."/>
<IncludeRules context="pop_end"/>
<IncludeRules context="find_instantiated_map"/>
</context>
<context name="package_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!package_declarative_list">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" char=";"/>
<IncludeRules context="enclosed_interface_list"/>
<IncludeRules context="find_instantiated_map"/>
<WordDetect attribute="Control" insensitive="true" String="generic"/>
</context>
<context name="package_declarative_list" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="package_declarative_start_expr"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="packagebody" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="packagebody_main" beginRegion="PackageBodyRegion1"
String="(&identifier;)"/>
</context>
<context name="packagebody_main" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="packagebody_is">
<RegExpr attribute="Control" context="#pop#pop" dynamic="1" insensitive="1"
String="&bos;end(\s+package\s+body\b)?(\s+%1)?\s*;" endRegion="PackageBodyRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="true"
String="end" endRegion="PackageBodyRegion1"/>
</context>
<context name="packagebody_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!package_declarative_list">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!package_declarative_list" insensitive="1" String="is"/>
</context>
<context name="architecture" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="arch_end" beginRegion="ArchitectureRegion1"
String="(&identifier;)"/>
</context>
<context name="arch_end" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="arch_of">
<RegExpr attribute="Control" context="#pop#pop" insensitive="1" dynamic="1"
String="&bos;end(\s+architecture\b)?(\s+%1)?\s*;" endRegion="ArchitectureRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="1"
String="end" endRegion="ArchitectureRegion1"/>
</context>
<context name="arch_of" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!block_declarative_stmt">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!arch_ref" insensitive="1" String="of"/>
</context>
<context name="arch_ref" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!block_declarative_stmt">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!block_declarative_stmt" insensitive="1" String="is" />
<IncludeRules context="reference"/>
</context>
<context name="reference" attribute="Normal Text" lineEndContext="#stay">
<DetectIdentifier attribute="Reference"/>
<RangeDetect attribute="Reference" char=""" char1="""/>
<RangeDetect attribute="Reference" char="\" char1="\"/>
<DetectChar attribute="Reference" char="."/>
</context>
<context name="block_declarative_stmt" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="block_declarative_start_expr"/>
<WordDetect attribute="Control" context="#pop!concurrent_stmt" insensitive="1" String="begin"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="block_declarative_start_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="package_declarative_start_expr"/>
<WordDetect attribute="Control" context="for_block_decl" insensitive="1" String="for" beginRegion="LoopRegion1"/>
</context>
<context name="package_declarative_start_expr" attribute="Normal Text" lineEndContext="#stay">
<WordDetect attribute="Control" context="component" insensitive="1" String="component"/>
<IncludeRules context="process_declarative_start_expr"/>
</context>
<context name="process_declarative_start_expr" attribute="Normal Text" lineEndContext="#stay">
<WordDetect attribute="Control" context="package" insensitive="1" String="package"/>
<WordDetect attribute="Signal" context="type" insensitive="1" String="type"/>
<WordDetect attribute="Redirection" context="function" insensitive="1" String="function"/>
<WordDetect attribute="Keyword" context="procedure" insensitive="1" String="procedure" beginRegion="ProcedureRegion1"/>
<WordDetect attribute="Keyword" insensitive="1" String="shared"/>
<WordDetect attribute="Keyword" insensitive="1" String="impure"/>
<WordDetect attribute="Keyword" insensitive="1" String="pure"/>
<WordDetect attribute="Keyword" context="view" insensitive="1" String="view" beginRegion="sig"/>
<keyword attribute="Signal" context="signal" String="signals"/>
</context>
<context name="start_simple_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="pop_end"/>
<keyword attribute="Keyword" context="sequential_stmt_expr" String="keywords"/>
<DetectIdentifier attribute="Normal Text" context="sequential_stmt_expr"/>
</context>
<context name="start_simple_expr_then_pop" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="pop_end"/>
<keyword attribute="Keyword" context="#pop!sequential_stmt_expr" String="keywords"/>
<DetectIdentifier attribute="Normal Text" context="#pop!sequential_stmt_expr"/>
</context>
<context name="concurrent_stmt" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="concurrent_stmt_item">
<IncludeRules context="blank"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="concurrent_label"/>
</context>
<context name="concurrent_label" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Name" context="concurrent_stmt_label" String="\b(?!(process|constant|signal|variable)\b)&label;"/>
</context>
<context name="concurrent_stmt_label" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Operator" context="#pop!concurrent_stmt_labelized_item" char=":"/>
<DetectSpaces attribute="Normal Text"/>
</context>
<context name="concurrent_stmt_labelized_item" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop!case_generate" insensitive="1" String="case" beginRegion="CaseRegion1"/>
<WordDetect attribute="Control" context="#pop!for_generate" insensitive="1" String="for" beginRegion="LoopRegion1"/>
<WordDetect attribute="Control" context="#pop!if_generate" insensitive="1" String="if" beginRegion="IfRegion1"/>
<keyword attribute="Keyword" context="#pop!instantiated_unit" String="instantiated"/>
<IncludeRules context="concurrent_stmt_item_start"/>
<IncludeRules context="instantiated_unit_name"/>
<DetectIdentifier attribute="Normal Text" context="#pop!sequential_stmt_expr"/>
</context>
<context name="concurrent_stmt_item" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="concurrent_stmt_item_start"/>
<DetectIdentifier attribute="Normal Text" context="#pop!sequential_stmt_expr"/>
</context>
<context name="concurrent_stmt_item_start" attribute="Normal Text" lineEndContext="#stay">
<WordDetect attribute="Keyword" context="#stay" insensitive="1" String="postponed"/>
<WordDetect attribute="Control" context="#pop!package" insensitive="1" String="package"/>
<WordDetect attribute="Signal" context="#pop!type" insensitive="1" String="type"/>
<WordDetect attribute="Redirection" context="#pop!function" insensitive="1" String="function"/>
<WordDetect attribute="Keyword" context="#pop!procedure" insensitive="1" String="procedure" beginRegion="ProcedureRegion1"/>
<WordDetect attribute="Process" context="#pop!process" insensitive="1" String="process" beginRegion="ProcessRegion1"/>
<WordDetect attribute="Control" context="#pop!block" insensitive="1" String="block" beginRegion="BlockRegion1"/>
<WordDetect attribute="Keyword" context="#pop!view" insensitive="1" String="view"/>
<keyword attribute="Signal" context="#pop!signal" String="signals" beginRegion="sig"/>
<IncludeRules context="sequential_stmt_item_start"/>
<keyword attribute="Keyword" context="#pop!sequential_stmt_expr" String="keywords"/>
</context>
<context name="for_block_decl" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop!for_block_unit" char=";" endRegion="InstanceRegion1"/>
<WordDetect context="#pop!expressionError" insensitive="1" String="end"/>
<IncludeRules context="find_instantiated_map"/>
<IncludeRules context="postExpression"/>
</context>
<context name="for_block_unit" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!for_block_end_region">
<IncludeRules context="blank"/>
<WordDetect context="sequential_stmt_expr" insensitive="1" String="use"/>
<WordDetect context="for_block_end" insensitive="1" String="end"/>
</context>
<context name="for_block_end" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Control" context="#pop#pop" insensitive="1"
String="&bos;end\s+for\s*;" endRegion="LoopRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="1"
String="end" endRegion="LoopRegion1"/>
</context>
<context name="for_block_end_region" attribute="Normal Text" lineEndContext="#stay">
<RegExpr context="#pop" String="." lookAhead="1" endRegion="LoopRegion1"/>
</context>
<context name="instantiated_unit" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!instantiated_unit_decl">
<IncludeRules context="blank"/>
<IncludeRules context="instantiated_unit_name"/>
</context>
<context name="instantiated_unit_name" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Reference" context="#pop!instantiated_unit_decl" String="&varname;(\s*\.\s*&varname;)?" beginRegion="InstanceRegion1"/>
</context>
<context name="instantiated_unit_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!end_instance_region">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop" char=";" endRegion="InstanceRegion1"/>
<DetectChar attribute="Normal Text" context="instantiated_unit_identifier" char="("/>
<IncludeRules context="find_instantiated_map"/>
</context>
<context name="find_instantiated_map" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Keyword" context="instance_map_start" insensitive="true" String="&bos;(port|generic)\s+map\b\s*"/>
</context>
<context name="instantiated_unit_identifier" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!end_instance_region">
<IncludeRules context="blank"/>
<DetectChar attribute="Error" context="#pop" char=")"/>
<RegExpr attribute="Normal Text" context="#pop!instantiated_unit_identifier_end" String="&identifier;"/>
</context>
<context name="instantiated_unit_identifier_end" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!end_instance_region">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
</context>
<context name="end_instance_region" attribute="Normal Text" lineEndContext="#stay">
<WordDetect context="#pop" insensitive="1" String="end" lookAhead="1" endRegion="InstanceRegion1"/>
<DetectIdentifier context="#pop" lookAhead="1" endRegion="InstanceRegion1"/>
<RegExpr context="#pop" String="." lookAhead="1" endRegion="InstanceRegion1"/>
</context>
<context name="instance_map_start" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop!instance_map" char="(" beginRegion="InstanceMapRegion"/>
</context>
<context name="instance_map" attribute="Normal Text" lineEndContext="#stay">
<AnyChar attribute="Error" context="#stay" String="<;:"/>
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=")" endRegion="InstanceMapRegion"/>
<IncludeRules context="enclosed_association_list"/>
<IncludeRules context="postExpression"/>
</context>
<context name="if_start" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="if_expr">
<RegExpr attribute="Control" context="#pop" insensitive="true" endRegion="IfRegion1"
String="&bos;end\s+if(\s+&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="IfRegion1"/>
</context>
<context name="if_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<WordDetect attribute="Control" context="if_body" insensitive="true" String="then"/>
<IncludeRules context="postExpression"/>
</context>
<context name="if_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_item">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop" insensitive="true" String="elsif"/>
<WordDetect attribute="Control" context="#pop#pop!sequential_stmt" insensitive="true" String="else"/>
<WordDetect attribute="Control" context="#pop#pop" insensitive="true" String="end" lookAhead="1"/>
<IncludeRules context="sequential_label"/>
</context>
<context name="case" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="case_expr">
<RegExpr attribute="Control" context="#pop" insensitive="true" endRegion="CaseRegion1"
String="&bos;end\s+case(\s*[?])?(?:\s*\b&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="CaseRegion1"/>
</context>
<context name="case_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<WordDetect attribute="Keyword" context="#pop!case_is" insensitive="true" String="is"/>
<DetectChar char=";" attribute="Normal Text" context="#pop!case_body" beginRegion="CaseWhenRegion1"/>
<IncludeRules context="postExpression"/>
</context>
<context name="case_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!case_when">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop!case_when" insensitive="true" String="when"/>
</context>
<context name="case_when" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="=" char1=">" attribute="Operator" context="#pop!case_body" beginRegion="CaseWhenRegion1"/>
<IncludeRules context="preExpression"/>
<DetectChar char=";" attribute="Normal Text" context="#pop!case_body" beginRegion="CaseWhenRegion1"/>
<IncludeRules context="case_when_post_expr"/>
</context>
<context name="case_when_post_expr" attribute="Normal Text" lineEndContext="#stay">
<WordDetect attribute="Keyword" insensitive="1" String="others"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="keywordExpression"/>
<DetectIdentifier attribute="Name"/>
</context>
<context name="case_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_item">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop!case_when" insensitive="1" String="when" endRegion="CaseWhenRegion1"/>
<WordDetect context="#pop" insensitive="1" String="end" lookAhead="1" endRegion="CaseWhenRegion1"/>
<IncludeRules context="sequential_label"/>
</context>
<context name="while" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<WordDetect attribute="Control" context="#pop!loop" insensitive="true" String="loop" beginRegion="LoopRegion1"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="loop" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt">
<RegExpr attribute="Control" context="#pop" insensitive="true" endRegion="LoopRegion1"
String="&bos;end\s+loop(\s+&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="LoopRegion1"/>
</context>
<context name="declare" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="block_body">
<RegExpr attribute="Keyword" context="#pop" insensitive="true" endRegion="DeclareRegion1"
String="&bos;end(\s+declare)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="DeclareRegion1"/>
</context>
<context name="entity" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="entity_main" beginRegion="EntityRegion1"
String="(&identifier;)"/>
</context>
<context name="entity_main" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="entity_header">
<RegExpr attribute="Control" context="#pop#pop" dynamic="1" insensitive="1"
String="&bos;end(\s+entity)?(\s+%1)?\s*;" endRegion="EntityRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="true"
String="end" endRegion="EntityRegion1"/>
</context>
<context name="entity_header" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!entity_decl">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_interface_list"/>
<DetectChar attribute="Normal Text" char=";"/>
<WordDetect attribute="Control" insensitive="true" String="generic"/>
<WordDetect attribute="Control" insensitive="true" String="port"/>
<WordDetect attribute="Keyword" insensitive="true" String="is"/>
</context>
<context name="entity_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="process_declarative_start_expr"/>
<WordDetect attribute="Keyword" context="#pop!entity_stmt" insensitive="1" String="begin"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="entity_stmt" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="entity_stmt_item">
<IncludeRules context="blank"/>
<IncludeRules context="pop_end"/>
<RegExpr attribute="Name" context="entity_stmt_label" String="&label;"/>
</context>
<context name="entity_stmt_label" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Operator" context="#pop!entity_stmt_item" char=":"/>
<DetectSpaces attribute="Normal Text"/>
</context>
<context name="entity_stmt_item" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#stay" insensitive="1" String="postponed"/>
<WordDetect attribute="Process" context="#pop!process" insensitive="1" String="process" beginRegion="ProcessRegion1"/>
<IncludeRules context="start_simple_expr_then_pop"/>
</context>
<context name="configuration" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="conf_of" beginRegion="ConfigurationRegion1"
String="(&identifier;)"/>
</context>
<context name="conf_of" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="conf_is">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="conf_ref" insensitive="1" String="of"/>
<RegExpr attribute="Control" context="#pop#pop" insensitive="1" dynamic="1"
String="&bos;end(\s+configuration\b)?(\s+%1)?\s*;" endRegion="ConfigurationRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="1"
String="end" endRegion="ConfigurationRegion1"/>
</context>
<context name="conf_ref" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!conf_decl">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!conf_decl" insensitive="1" String="is" />
<IncludeRules context="reference"/>
</context>
<context name="conf_is" attribute="Control" lineEndContext="#stay" fallthroughContext="#pop#pop#pop">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!conf_decl" insensitive="1" String="is" />
</context>
<context name="conf_decl" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<WordDetect attribute="Control" context="conf_for" insensitive="1" String="for" beginRegion="LoopRegion1"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="conf_for" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<WordDetect attribute="Control" context="conf_for" insensitive="1" String="for" beginRegion="LoopRegion1"/>
<WordDetect attribute="Control" context="conf_for_end" insensitive="1" lookAhead="1" String="end" endRegion="LoopRegion1"/>
<IncludeRules context="postExpression"/>
</context>
<context name="conf_for_end" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!expressionError">
<RegExpr attribute="Control" context="#pop#pop" insensitive="true" String="&bos;end(\s+for\b)?\s*;"/>
</context>
<context name="context" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="#pop!context_main" beginRegion="ContextRegion1"
String="(&identifier;)(?!\.)"/>
</context>
<context name="context_main" attribute="Control" lineEndContext="#stay" fallthroughContext="context_decl">
<RegExpr attribute="Keyword" context="#pop" dynamic="1" insensitive="1"
String="&bos;end(\s+context)?(\s+%1)?\s*;" endRegion="ContextRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="1"
String="end" endRegion="ContextRegion1"/>
</context>
<context name="context_decl" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<keyword attribute="Keyword" context="sequential_stmt_expr" String="keywordsToplevel"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="blank" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces attribute="Normal Text" context="#stay"/>
<Detect2Chars attribute="Comment" context="comment" char="-" char1="-"/>
<Detect2Chars attribute="Comment" context="block_comment" char="/" char1="*"/>
</context>
<context name="abstract_literal" attribute="Integer" lineEndContext="#pop" fallthroughContext="exponent">
<DetectChar attribute="Operator" char="."/>
<DetectChar attribute="Operator" context="based_integer" char="#"/>
<RegExpr attribute="Integer" context="exponent" String="_?[0-9]++(_[0-9]+)*"/>
</context>
<context name="exponent" attribute="Integer" lineEndContext="#pop#pop" fallthroughContext="#pop#pop">
<RegExpr attribute="Exponent" context="#pop#pop" String="[eE][+-]?[0-9]++(_[0-9]+)*+"/>
<AnyChar attribute="Error" context="#pop#pop" String="eE_"/>
</context>
<context name="based_integer" attribute="Integer" lineEndContext="#pop#pop" fallthroughContext="#pop#pop">
<DetectChar attribute="Operator" char="."/>
<DetectChar attribute="Error" char="_"/>
<DetectChar attribute="Operator" context="#pop!exponent" char="#"/>
<RegExpr attribute="Based Integer" String="[0-9a-fA-F]++(_[0-9a-fA-F]+)*"/>
</context>
<context name="external_name" attribute="Integer" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<keyword attribute="Signal" context="#pop" String="signals"/>
</context>
<context name="enclosed_interface_list" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Normal Text" context="interface_list" char="("/>
</context>
<context name="interface_list" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<keyword attribute="Signal" String="signals"/>
<IncludeRules context="postExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
<IncludeRules context="enclosed_association_list"/>
</context>
<context name="enclosed_association_list" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Normal Text" context="association_list" char="("/>
</context>
<context name="association_list" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
<IncludeRules context="enclosed_association_list"/>
<DetectChar context="#pop" char=";" lookAhead="1"/>
</context>
<context name="sequential_stmt" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_item">
<IncludeRules context="blank"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="sequential_label"/>
</context>
<context name="sequential_label" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Name" context="sequential_stmt_label" String="&label;"/>
</context>
<context name="sequential_stmt_label" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Operator" context="#pop!sequential_stmt_item" char=":"/>
<DetectSpaces attribute="Normal Text"/>
</context>
<context name="sequential_stmt_item" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop" char=";"/>
<IncludeRules context="sequential_stmt_item_start"/>
<IncludeRules context="start_simple_expr_then_pop"/>
</context>
<context name="sequential_stmt_item_start" attribute="Normal Text" lineEndContext="#stay">
<WordDetect attribute="Control" context="#pop!if_start" insensitive="1" String="if" beginRegion="IfRegion1"/>
<WordDetect attribute="Control" context="#pop!case" insensitive="1" String="case" beginRegion="CaseRegion1"/>
<WordDetect attribute="Control" context="#pop!while" insensitive="1" String="for"/>
<WordDetect attribute="Control" context="#pop!while" insensitive="1" String="while"/>
<WordDetect attribute="Control" context="#pop!loop" insensitive="1" String="loop" beginRegion="LoopRegion1"/>
<WordDetect attribute="Keyword" context="#pop!declare" insensitive="1" String="declare" beginRegion="DeclareRegion1"/>
<keyword attribute="Control" context="#pop!sequential_stmt_expr" String="controls"/>
</context>
<context name="sequential_stmt_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=";"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="if_generate" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="if_generate_label">
<RegExpr attribute="Control" context="#pop" insensitive="1" endRegion="IfRegion1"
String="&bos;end\s+generate(\s+&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="1"
String="end" endRegion="IfRegion1"/>
</context>
<context name="if_generate_label" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!if_generate_expr">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="if_generate_after_label" String="&label;"/>
</context>
<context name="if_generate_after_label" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!if_generate_expr">
<DetectChar attribute="Operator" context="#pop#pop!if_generate_expr" char=":"/>
<DetectSpaces attribute="Normal Text"/>
</context>
<context name="if_generate_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<WordDetect attribute="Control" context="#pop!if_generate_body" insensitive="1" String="generate"/>
<IncludeRules context="postExpression"/>
</context>
<context name="if_generate_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="generate_body_pre_start"/>
<WordDetect attribute="Control" context="#pop!if_generate_label" insensitive="1" String="elsif"/>
<WordDetect attribute="Control" context="#pop!if_generate_label" insensitive="1" String="else"/>
<WordDetect context="if_generate_body_end" insensitive="1" String="end" lookAhead="1"/>
<IncludeRules context="generate_body_post_start"/>
</context>
<context name="if_generate_body_end" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!expressionError">
<RegExpr context="#pop#pop" insensitive="1" String="end\s+generate\b" lookAhead="1"/>
<RegExpr attribute="Control" context="#pop" insensitive="1" String="end(\s+&varname;)?\s*;"/>
</context>
<context name="generate_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="generate_body_pre_start"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="generate_body_post_start"/>
</context>
<context name="generate_body_pre_start" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="block_declarative_start_expr"/>
<WordDetect attribute="Keyword" context="#stay" insensitive="1" String="postponed"/>
<WordDetect attribute="Process" context="process" insensitive="1" String="process" beginRegion="ProcessRegion1"/>
<WordDetect attribute="Control" context="block" insensitive="1" String="block" beginRegion="BlockRegion1"/>
<WordDetect attribute="Control" context="if_start" insensitive="1" String="if" beginRegion="IfRegion1"/>
<WordDetect attribute="Control" context="case" insensitive="1" String="case" beginRegion="CaseRegion1"/>
<WordDetect attribute="Control" context="while" insensitive="1" String="while"/>
<WordDetect attribute="Control" context="loop" insensitive="1" String="loop" beginRegion="LoopRegion1"/>
<WordDetect attribute="Keyword" context="declare" insensitive="1" String="declare" beginRegion="DeclareRegion1"/>
<keyword attribute="Control" context="sequential_stmt_expr" String="controls"/>
<WordDetect attribute="Control" insensitive="1" String="begin"/>
</context>
<context name="generate_body_post_start" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Keyword" context="sequential_stmt_expr" String="keywords"/>
<IncludeRules context="concurrent_label"/>
<DetectIdentifier attribute="Normal Text" context="sequential_stmt_expr"/>
</context>
<context name="case_generate" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="case_generate_expr">
<RegExpr attribute="Control" context="#pop" insensitive="1" endRegion="CaseRegion1"
String="&bos;end\s+generate(\s+&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="1"
String="end" endRegion="CaseRegion1"/>
</context>
<context name="case_generate_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<WordDetect attribute="Control" context="#pop!case_generate_is" insensitive="1" String="generate"/>
<WordDetect attribute="Keyword" context="#pop!case_is" insensitive="1" String="is"/>
<IncludeRules context="postExpression"/>
</context>
<context name="case_generate_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!case_generate_when">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="case_generate_when" insensitive="1" String="when"/>
</context>
<context name="case_generate_when" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!case_generate_when_expr">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="case_generate_when_label" String="&label;"/>
</context>
<context name="case_generate_when_label" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!case_generate_when_expr">
<DetectChar attribute="Operator" context="#pop#pop!case_generate_when_expr" char=":"/>
<DetectSpaces attribute="Normal Text"/>
</context>
<context name="case_generate_when_expr" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars char="=" char1=">" attribute="Operator" context="#pop!case_generate_body" beginRegion="CaseWhenRegion1"/>
<IncludeRules context="preExpression"/>
<DetectChar char=";" attribute="Normal Text" context="#pop!case_generate_body" beginRegion="CaseWhenRegion1"/>
<IncludeRules context="case_when_post_expr"/>
</context>
<context name="case_generate_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="generate_body_pre_start"/>
<WordDetect attribute="Control" context="#pop!case_generate_when" insensitive="1" String="when" endRegion="CaseWhenRegion1"/>
<WordDetect context="#pop!if_generate_body_end" insensitive="1" String="end" lookAhead="1" endRegion="CaseWhenRegion1"/>
<IncludeRules context="generate_body_post_start"/>
</context>
<context name="for_generate" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="for_generate_expr">
<RegExpr attribute="Control" context="#pop" insensitive="1" endRegion="LoopRegion1"
String="&bos;end\s+generate(\s+&varname;)?\s*;"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="1"
String="end" endRegion="LoopRegion1"/>
</context>
<context name="for_generate_expr" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<WordDetect attribute="Control" context="#pop!generate_body" insensitive="1" String="generate"/>
<IncludeRules context="postExpression"/>
</context>
<context name="block" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="block_cont">
<RegExpr attribute="Control" context="#pop" insensitive="1"
String="&bos;end\s+block(\s+&varname;)?\s*;" endRegion="BlockRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="BlockRegion1"/>
</context>
<context name="block_cont" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!block_is">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_association_list"/>
<WordDetect attribute="Keyword" context="#pop!block_is" insensitive="true" String="is"/>
</context>
<context name="block_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!block_body">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_interface_list"/>
<DetectChar attribute="Normal Text" char=";"/>
<IncludeRules context="find_instantiated_map"/>
<WordDetect attribute="Control" insensitive="true" String="generic"/>
<WordDetect attribute="Control" insensitive="true" String="port"/>
</context>
<context name="block_body" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="block_declarative_start_expr"/>
<WordDetect attribute="Keyword" context="#pop!concurrent_stmt" insensitive="1" String="begin"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="process" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="process_params">
<RegExpr attribute="Process" context="#pop" insensitive="1"
String="&bos;end(\s+postponed)?(\s+process\b)?(\s+&varname;)?\s*;" endRegion="ProcessRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="ProcessRegion1"/>
</context>
<context name="process_params" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!process_decl">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_association_list"/>
<WordDetect attribute="Keyword" context="#pop!process_decl" String="is"/>
</context>
<context name="process_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="process_declarative_start_expr"/>
<WordDetect attribute="Process" context="#pop!sequential_stmt" insensitive="true" String="begin"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="preExpression" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<Detect2Chars attribute="Operator" context="external_name" char="<" char1="<"/>
<AnyChar attribute="Operator" context="#stay" String="[]&><=:+-*/|`.,?@"/>
<DetectChar attribute="Vector" context="string" char="""/>
<DetectChar attribute="Attribute" context="attribute" char="'"/>
<Int attribute="Integer" context="abstract_literal"/>
</context>
<context name="postExpression" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="keywordExpression"/>
<DetectIdentifier attribute="Normal Text"/>
</context>
<context name="keywordExpression" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Data Type" context="#stay" String="types"/>
<keyword attribute="Data Type" context="#stay" String="timeunits"/>
<keyword attribute="Range" context="#stay" String="range"/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
</context>
<context name="expressionError" attribute="Error" lineEndContext="#pop">
<Detect2Chars attribute="Comment" context="comment" char="-" char1="-"/>
<DetectChar attribute="Error" context="#pop" char=";"/>
</context>
<context name="comment" attribute="Comment" lineEndContext="#pop">
<DetectSpaces/>
<IncludeRules context="##Comments"/>
</context>
<context name="block_comment" attribute="Comment" lineEndContext="#stay">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/>
<IncludeRules context="comment"/>
</context>
<context name="string" attribute="Vector" lineEndContext="#stay">
<DetectChar attribute="Vector" context="#pop" char="""/>
</context>
<context name="attribute" attribute="Attribute" lineEndContext="#pop">
<RegExpr attribute="Attribute" context="#pop" String="[^']?'"/>
<DetectIdentifier attribute="Attribute"/>
<DetectChar attribute="Attribute" context="quot in att" char="""/>
<DetectChar attribute="Attribute" context="par in att" char="("/>
<DetectSpaces attribute="Normal Text" context="#pop"/>
<AnyChar attribute="Attribute" context="#pop" String=")=<>;" lookAhead="true" />
</context>
<context name="quot in att" attribute="Attribute" lineEndContext="#stay">
<DetectChar attribute="Attribute" context="#pop" char="""/>
</context>
<context name="par in att" attribute="Attribute" lineEndContext="#stay">
<DetectChar attribute="Attribute" context="#pop" char=")"/>
</context>
<context name="signal" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=";"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="type" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="#pop" char=";"/>
<WordDetect attribute="Signal" context="type_is" insensitive="1" String="is"/>
<DetectIdentifier attribute="Normal Text"/>
</context>
<context name="type_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop#pop!signal">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop#pop!type_record" insensitive="1" String="record" beginRegion="sig"/>
<WordDetect attribute="Keyword" context="#pop#pop!type_range" insensitive="1" String="range"/>
<WordDetect attribute="Keyword" context="#pop#pop!type_protected" insensitive="1" String="protected" beginRegion="BlockRegion1"/>
</context>
<context name="type_range" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=";"/>
<WordDetect attribute="Control" context="#pop!type_range_units" insensitive="1" String="units" beginRegion="UnitRegion1"/>
<IncludeRules context="postExpression"/>
</context>
<context name="type_range_units" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="type_body">
<RegExpr attribute="Control" context="#pop" insensitive="1"
String="&bos;end\s+units(\s+&identifier;)?\s*;" endRegion="UnitRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="UnitRegion1"/>
</context>
<context name="type_body" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<IncludeRules context="pop_end"/>
<IncludeRules context="postExpression"/>
</context>
<context name="type_record" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="type_body">
<RegExpr attribute="Keyword" context="#pop" insensitive="1"
String="&bos;end\s+record(\s+&identifier;)?\s*;" endRegion="sig"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="sig"/>
</context>
<context name="type_protected" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="type_protected_stmt">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="type_protected_stmt" insensitive="1" String="body"/>
<RegExpr attribute="Keyword" context="#pop" insensitive="1"
String="&bos;end\s+protected(\s+body)?(\s+&identifier;)?\s*;" endRegion="BlockRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="BlockRegion1"/>
</context>
<context name="type_protected_stmt" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="process_declarative_start_expr"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="view" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="type_body">
<RegExpr attribute="Keyword" context="#pop" insensitive="1"
String="&bos;end\s+view(\s+&identifier;)?\s*;" endRegion="sig"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="sig"/>
</context>
<context name="function" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="function_name">
<IncludeRules context="blank"/>
<DetectIdentifier attribute="Name" context="function_name"/>
<RangeDetect attribute="Vector" context="function_name" char=""" char1="""/>
<RangeDetect attribute="Name" context="function_name" char="\" char1="\"/>
</context>
<context name="function_name" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<DetectChar attribute="Normal Text" context="function_params" char="("/>
<DetectChar attribute="Normal Text" context="#pop#pop" char=";"/>
<WordDetect attribute="Control" context="function_return" insensitive="1" String="return"/>
<WordDetect attribute="Keyword" context="#pop#pop!function_is" insensitive="1" String="is" beginRegion="FunctionRegion1"/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
</context>
<context name="function_params" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
<IncludeRules context="pop_end"/>
<DetectChar attribute="Normal Text" context="function_params_recursive" char="("/>
<WordDetect attribute="Error" context="#pop!function_return" insensitive="1" String="return"/>
<keyword attribute="Signal" String="signals"/>
<IncludeRules context="postExpression"/>
</context>
<context name="function_params_recursive" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop" char=")"/>
<DetectChar attribute="Normal Text" context="function_params_recursive" char="("/>
<WordDetect context="#pop" insensitive="1" String="return" lookAhead="1"/>
<IncludeRules context="postExpression"/>
</context>
<context name="function_return" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="preExpression"/>
<DetectChar attribute="Normal Text" context="#pop#pop#pop" char=";"/>
<WordDetect attribute="Keyword" context="#pop#pop#pop!function_is" insensitive="1" String="is" beginRegion="FunctionRegion1"/>
<IncludeRules context="postExpression"/>
</context>
<context name="function_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!function_decl">
<IncludeRules context="blank"/>
<WordDetect attribute="Keyword" context="#pop!function_new" insensitive="1" String="new"/>
</context>
<context name="function_new" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!sequential_stmt_expr">
<IncludeRules context="blank"/>
<WordDetect attribute="Control" context="#pop!sequential_stmt_expr" insensitive="1" String="return"/>
<IncludeRules context="start_simple_expr_then_pop"/>
</context>
<context name="function_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="process_declarative_start_expr"/>
<WordDetect attribute="Redirection" context="#pop!function_begin" insensitive="true" String="begin"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="function_begin" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt">
<RegExpr attribute="Redirection" context="#pop" insensitive="1"
String="&bos;end(\s+function\b)?(\s+&designator;)?\s*;" endRegion="FunctionRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="FunctionRegion1"/>
</context>
<context name="procedure" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<DetectIdentifier attribute="Name" context="procedure_name"/>
<RangeDetect attribute="Vector" context="procedure_name" char=""" char1="""/>
<RangeDetect attribute="Name" context="procedure_name" char="\" char1="\"/>
</context>
<context name="procedure_name" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_interface_list"/>
<DetectChar attribute="Normal Text" context="#pop#pop" char=";" endRegion="ProcedureRegion1"/>
<WordDetect attribute="Control" context="#pop#pop!procedure_is" insensitive="true" String="is"/>
<WordDetect attribute="Keyword" context="#pop" insensitive="true" String="procedure" endRegion="ProcedureRegion1" beginRegion="ProcedureRegion1"/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
</context>
<context name="procedure_is" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!procedure_is2">
<IncludeRules context="function_is"/>
</context>
<context name="procedure_is2" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop!procedure_decl">
<IncludeRules context="blank"/>
<IncludeRules context="enclosed_interface_list"/>
<WordDetect attribute="Control" context="#pop!procedure_is" insensitive="true" String="is"/>
<WordDetect attribute="Keyword" insensitive="true" String="parameter"/>
</context>
<context name="procedure_decl" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt_expr">
<IncludeRules context="blank"/>
<IncludeRules context="process_declarative_start_expr"/>
<WordDetect attribute="Keyword" context="#pop!procedure_begin" insensitive="true" String="begin" endRegion="ProcedureRegion1" beginRegion="ProcedureRegion1"/>
<IncludeRules context="start_simple_expr"/>
</context>
<context name="procedure_begin" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="sequential_stmt">
<RegExpr attribute="Keyword" context="#pop" insensitive="1"
String="&bos;end(\s+procedure)?(\s+&designator;)?\s*;" endRegion="ProcedureRegion1"/>
<WordDetect attribute="Error" context="#pop!expressionError" insensitive="true"
String="end" endRegion="ProcedureRegion1"/>
</context>
<context name="component" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="#pop">
<IncludeRules context="blank"/>
<RegExpr attribute="Name" context="component_main" beginRegion="ComponentRegion1"
String="(&identifier;)"/>
</context>
<context name="component_main" attribute="Normal Text" lineEndContext="#stay" fallthroughContext="component_body">
<RegExpr attribute="Control" context="#pop#pop" dynamic="1" insensitive="1"
String="&bos;end\s+component\b(\s+%1)?\s*;" endRegion="ComponentRegion1"/>
<WordDetect attribute="Error" context="#pop#pop!expressionError" insensitive="true"
String="end" endRegion="ComponentRegion1"/>
</context>
<context name="component_body" attribute="Normal Text" lineEndContext="#stay">
<IncludeRules context="entity_header"/>
<IncludeRules context="pop_end"/>
<DetectIdentifier attribute="Error"/>
</context>
<context name="pop_end" attribute="Normal Text" lineEndContext="#stay">
<WordDetect context="#pop" insensitive="1" String="end" lookAhead="1"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Integer" defStyleNum="dsDecVal"/>
<itemData name="Exponent" defStyleNum="dsFloat"/>
<itemData name="Based Integer" defStyleNum="dsBaseN"/>
<itemData name="Reference" defStyleNum="dsFunction"/>
<itemData name="Error" defStyleNum="dsError" bold="1"/>
<itemData name="Vector" defStyleNum="dsString"/>
<itemData name="Operator" defStyleNum="dsOthers"/>
<itemData name="Attribute" defStyleNum="dsBaseN"/>
<itemData name="Signal" defStyleNum="dsOthers"/>
<itemData name="Range" defStyleNum="dsOthers"/>
<itemData name="Redirection" defStyleNum="dsAttribute" bold="1"/>
<itemData name="Process" defStyleNum="dsSpecialChar" bold="1"/>
<itemData name="Control" defStyleNum="dsControlFlow"/>
<itemData name="Name" defStyleNum="dsDecVal" bold="1"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="--" position="afterwhitespace"/>
</comments>
<keywords casesensitive="0"/>
</general>
</language>