Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.ahdl.fold is written in an unsupported language. File is not indexed.
0001 -- Test file for kate's syntax highlighting 0002 Title "Test file"; 0003 0004 <beginfold id='1'>-- BEGIN region (a region marker region) :)</beginfold id='1'> 0005 0006 % multiline comment 0007 goes on here % 0008 0009 <endfold id='1'>-- END</endfold id='1'> 0010 0011 FUNCTION FCT <beginfold id='2'>(</beginfold id='2'>Clk, Key<endfold id='2'>)</endfold id='2'> RETURNS <beginfold id='2'>(</beginfold id='2'>pulse<endfold id='2'>)</endfold id='2'>; 0012 0013 SUBDESIGN CDCLOCK2 0014 <beginfold id='2'>(</beginfold id='2'> 0015 in : INPUT; -- go in 0016 out[3..0] : OUTPUT; -- come out 0017 <endfold id='2'>)</endfold id='2'> 0018 0019 VARIABLE 0020 start : soft; 0021 usec[3..0] : node; 0022 0023 <beginfold id='3'>BEGIN</beginfold id='3'> 0024 0025 in = FCT<beginfold id='2'>(</beginfold id='2'>clock, some_key<endfold id='2'>)</endfold id='2'>; -- senseless code 0026 0027 -- comment 0028 blubb = <beginfold id='2'>(</beginfold id='2'>blobb[] == H"3ff"<endfold id='2'>)</endfold id='2'>; 0029 0030 <beginfold id='4'>IF</beginfold id='4'> in THEN asdf 0031 -- folde me 0032 <endfold id='4'>END IF</endfold id='4'>; 0033 0034 <beginfold id='5'>TABLE</beginfold id='5'> 0035 -- missing code 0036 <endfold id='5'>END TABLE</endfold id='5'> 0037 0038 0039 <endfold id='3'>END</endfold id='3'>; 0040 0041 -- hex, octal, binary 0042 H"0" => B"1000000"; 0043 O"01234567";