00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_mincdsl extends HFile{
00006 function HFile_mincdsl(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array();
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "/L10" => "",
00046 "\"MINC" => "",
00047 "DSL\"" => "",
00048 "Line" => "",
00049 "Comment" => "",
00050 "=" => "",
00051 "\"" => "",
00052 "Block" => "",
00053 "On" => "",
00054 "'" => "",
00055 "Off" => "",
00056 ";" => "",
00057 "File" => "",
00058 "Extensions" => "",
00059 "SRC" => "",
00060 "PI" => "",
00061 "STM" => "",
00062 "OPI" => "",
00063 "NPI" => "",
00064 "SIM" => "",
00065 "AND" => "1",
00066 "BIN" => "1",
00067 "BIPUT" => "1",
00068 "BLOWN" => "1",
00069 "CASE" => "1",
00070 "CLOCK_ENABLED_BY" => "1",
00071 "CLOCKED_BY" => "1",
00072 "CLOCKF" => "1",
00073 "COMP_OFF" => "1",
00074 "COMP_ON" => "1",
00075 "D_FLOP" => "1",
00076 "D_LATCH" => "1",
00077 "DEC" => "1",
00078 "DEFAULT" => "1",
00079 "DEFAULT_TO" => "1",
00080 "DEMORGAN_SYNTH" => "1",
00081 "DEVICE" => "1",
00082 "DISABLED_ONLY_FOR_TEST" => "1",
00083 "DO" => "1",
00084 "ELSE" => "1",
00085 "ELSIF" => "1",
00086 "ENABLED_BY" => "1",
00087 "END" => "1",
00088 "FF_SYNTH" => "1",
00089 "FIT_WITH" => "1",
00090 "FIXED" => "1",
00091 "FOOTPRINT" => "1",
00092 "FOR" => "1",
00093 "FUNKTION" => "1",
00094 "GOTO" => "1",
00095 "GRAY_CODE" => "1",
00096 "GROUP" => "1",
00097 "SECTIONS" => "1",
00098 "HEX" => "1",
00099 "HIGH_VALUE" => "1",
00100 "IF" => "1",
00101 "INCLUDE" => "1",
00102 "INITIAL" => "1",
00103 "INITIAL_TO" => "1",
00104 "INPUT" => "1",
00105 "INTACT" => "1",
00106 "JK_FLOP" => "1",
00107 "LAST_VALUE" => "1",
00108 "LATCHED_BY" => "1",
00109 "LOW_POWER" => "1",
00110 "LOW_TRUE" => "1",
00111 "LOW_VALUE" => "1",
00112 "MACRO" => "1",
00113 "MAX_PTERMS" => "1",
00114 "MAX_SYMBOLS" => "1",
00115 "MAX_FOR_PTERMS" => "1",
00116 "MESSAGE" => "1",
00117 "MOD" => "1",
00118 "NAME" => "1",
00119 "NO_COLLAPSE" => "1",
00120 "NO_CONNECT" => "1",
00121 "NO_REDUCE" => "1",
00122 "NODE" => "1",
00123 "NOT" => "1",
00124 "OCT" => "1",
00125 "ONE_HOT" => "1",
00126 "OR" => "1",
00127 "OUTPUT" => "1",
00128 "PART_NUMBER" => "1",
00129 "PHYSICAL" => "1",
00130 "POLARITY_CONTROL" => "1",
00131 "PRESET_BY" => "1",
00132 "POWER=" => "1",
00133 "RETURN" => "1",
00134 "RESET_BY" => "1",
00135 "SECTION" => "1",
00136 "SET" => "1",
00137 "SIMULATION" => "1",
00138 "SR_FLOP" => "1",
00139 "STATE" => "1",
00140 "STATE_BITS" => "1",
00141 "STATE_MACHINE" => "1",
00142 "STATE_VALUE" => "1",
00143 "STEP" => "1",
00144 "SYSTEM_TEST" => "1",
00145 "T_FLOP" => "1",
00146 "TARGET" => "1",
00147 "TEMPLATE" => "1",
00148 "TEST_VECTORS" => "1",
00149 "THEN" => "1",
00150 "TO" => "1",
00151 "TRACE" => "1",
00152 "TRUTH" => "1",
00153 "TRUTH_TABLE" => "1",
00154 "USE" => "1",
00155 "VAR" => "1",
00156 "VIRTUAL" => "1",
00157 "WHEN" => "1",
00158 "WHILE" => "1",
00159 "WIRED_BUS" => "1",
00160 "XOR_POLARITY_CONTROL" => "1",
00161 "XOR_TO_SOP_SYNTH" => "1");
00162
00163
00164
00165
00166
00167
00168
00169
00170 $this->linkscripts = array(
00171 "" => "donothing",
00172 "1" => "donothing");
00173 }
00174
00175
00176 function donothing($keywordin)
00177 {
00178 return $keywordin;
00179 }
00180
00181 }?>