From 41d51802a4f1d52aced2f2960bc919c9739cf775 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 15 May 2015 16:26:00 +0200 Subject: switched geshi higlighter to composer based repository --- inc/geshi/vhdl.php | 183 ----------------------------------------------------- 1 file changed, 183 deletions(-) delete mode 100644 inc/geshi/vhdl.php (limited to 'inc/geshi/vhdl.php') diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php deleted file mode 100644 index a8f37e676..000000000 --- a/inc/geshi/vhdl.php +++ /dev/null @@ -1,183 +0,0 @@ - 'VHDL', - 'COMMENT_SINGLE' => array(1 => '--'), - 'COMMENT_MULTI' => array('/*' => '*/'), - 'COMMENT_REGEXP' => array( - // PSL adds C-preprocessor support - 1 => '/(?<=\s)#(?:\\\\\\\\|\\\\\\n|.)*$/m', - // PSL metacomments (single-line only for now) - 2 => '/--\s*@?psl(?:.)*?;$/m', - ), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"'), - 'ESCAPE_CHAR' => '', - 'KEYWORDS' => array( - /*keywords*/ - 1 => array( - 'access','after','alias','all','attribute','architecture','array','begin', - 'block','body','buffer','bus','case','case?','component','configuration','constant','context', - 'disconnect','downto','else','elsif','end','entity','exit','file','for','force', - 'function','generate','generic','group','guarded','if','impure','in', - 'inertial','inout','is','label','library','linkage','literal','loop', - 'map','new','next','null','of','on','open','others','out','package', - 'port','postponed','procedure','process','protected','pure','range','record','register', - 'reject','release','report','return','select','severity','shared','signal','subtype', - 'then','to','transport','type','unaffected','units','until','use','variable', - 'wait','when','while','with' - ), - /*types and standard libs*/ - 2 => array( - 'bit','bit_vector','character','boolean','integer','real','time','delay_length','string', - 'severity_level','positive','natural','signed','unsigned','line','text', - 'std_logic','std_logic_vector','std_ulogic','std_ulogic_vector', - 'sfixed','ufixed','float','float32','float64','float128', - 'work','ieee','std_logic_1164','math_real','math_complex','textio', - 'numeric_std','numeric_std_signed','numeric_std_unsigned','numeric_bit' - ), - /*operators*/ - 3 => array( - 'abs','and','mod','nor','not','or','rem','rol','ror','sla','sll','sra','srl','xnor','xor' - ), - /*psl*/ - 4 => array( - 'assert','assume','assume_guarantee','clock','const','countones','cover','default', - 'endpoint','fairness','fell','forall','inf','inherit','isunknown','onehot','onehot0','property', - 'prev','restrict','restrict_guarantee','rose','sequence','stable','strong','union','vmode','vprop','vunit' - ), - /*psl operators*/ - 5 => array( - 'abort','always','before','before!','before!_','before_','eventually!','never', - 'next!','next_a','next_a!','next_e','next_e!','next_event','next_event!','next_event_a','next_event_a!', - 'next_event_e','next_event_e!','until!','until!_','until_','within' - ) - ), - 'SYMBOLS' => array( - '[', ']', '(', ')', - ';',':', - '<','>','=','+','-','*','/','&','|','?' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - 5 => false - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #000080; font-weight: bold;', - 2 => 'color: #0000ff;', - 3 => 'color: #000066;', - 4 => 'color: #000080; font-weight: bold;', - 5 => 'color: #000066;' - ), - 'COMMENTS' => array( - 1 => 'color: #008000; font-style: italic;', - 2 => 'color: #ff0000; font-weight: bold;', - 'MULTI' => 'color: #008000; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #000066;' - ), - 'STRINGS' => array( - 0 => 'color: #7f007f;' - ), - 'NUMBERS' => array( - 0 => 'color: #ff0000;' - ), - 'METHODS' => array( - ), - 'SYMBOLS' => array( - 0 => 'color: #000066;' - ), - 'REGEXPS' => array( - 0 => 'color: #ff0000;', - //1 => 'color: #ff0000;', - 2 => 'color: #ee82ee;' - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '', - 5 => '' - ), - 'OOLANG' => false, - 'OBJECT_SPLITTERS' => array( - ), - 'REGEXPS' => array( - //Based literals, scientific notation, and time units - 0 => '(\b\d+#[[:xdigit:]_]+#)|'. - '(\b[\d_]+(\.[\d_]+)?[eE][+\-]?[\d_]+)|'. - '(\b(hr|min|sec|ms|us|ns|ps|fs)\b)', - //Character literals - /* GeSHi won't match this pattern for some reason and QUOTEMARKS - * can't be used because it interferes with attribute parsing */ - /*1 => "\b'.'\b",*/ - //Attributes - 2 => "'\w+(?!')" - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) -); - -?> -- cgit v1.2.3