-- Test file for kate's syntax highlighting
Title "Test file";

<beginfold id='7'>-- BEGIN region (a region marker region) :)</beginfold id='7'>

% multiline comment
goes on here %

<endfold id='7'>-- END</endfold id='7'>

FUNCTION FCT <beginfold id='6'>(</beginfold id='6'>Clk, Key<endfold id='6'>)</endfold id='6'> RETURNS <beginfold id='6'>(</beginfold id='6'>pulse<endfold id='6'>)</endfold id='6'>;

SUBDESIGN CDCLOCK2
<beginfold id='6'>(</beginfold id='6'>
in           : INPUT;  -- go in
out[3..0]    : OUTPUT; -- come out
<endfold id='6'>)</endfold id='6'>

VARIABLE
start        : soft;
usec[3..0]   : node;

<beginfold id='5'>BEGIN</beginfold id='5'>

in = FCT<beginfold id='6'>(</beginfold id='6'>clock, some_key<endfold id='6'>)</endfold id='6'>;  -- senseless code

-- comment
blubb = <beginfold id='6'>(</beginfold id='6'>blobb[] == H"3ff"<endfold id='6'>)</endfold id='6'>; 

<beginfold id='2'>IF</beginfold id='2'> in THEN asdf
-- folde me
<endfold id='2'>END IF</endfold id='2'>; 

<beginfold id='3'>TABLE</beginfold id='3'>
-- missing code
<endfold id='3'>END TABLE</endfold id='3'>


<endfold id='5'>END</endfold id='5'>;

-- hex, octal, binary
H"0" => B"1000000";
O"01234567";
