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_map extends HFile{
00006 function HFile_map(){
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", "purple", "gray", "brown", "blue", "purple", "gray", "brown");
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 "BIT" => "1",
00046 "BTW" => "1",
00047 "BYT" => "1",
00048 "CODE" => "1",
00049 "D16" => "1",
00050 "DATA" => "1",
00051 "DT3" => "1",
00052 "DT4" => "1",
00053 "DT8" => "1",
00054 "FAR" => "1",
00055 "HDAT" => "1",
00056 "INT" => "1",
00057 "LDAT" => "1",
00058 "NEA" => "1",
00059 "PDAT" => "1",
00060 "REG" => "1",
00061 "TSK" => "1",
00062 "WOR" => "1",
00063 "BITA" => "2",
00064 "BYTE" => "2",
00065 "DWORD" => "2",
00066 "IRAM" => "2",
00067 "PAGE" => "2",
00068 "PECA" => "2",
00069 "SEGM" => "2",
00070 "WORD" => "2",
00071 "AT" => "3",
00072 "COMM" => "3",
00073 "GLOB" => "3",
00074 "GUSK" => "3",
00075 "PRIV" => "3",
00076 "PUBL" => "3",
00077 "SSTK" => "3",
00078 "USTK" => "3",
00079 "ABS" => "4",
00080 "RAM" => "4",
00081 "ROM" => "5",
00082 "Reserved" => "5",
00083 "?FI" => "6",
00084 "?LI" => "6",
00085 "?SY" => "6",
00086 "EXT" => "6",
00087 "GLB" => "6",
00088 "LOC" => "6",
00089 "PUB" => "6",
00090 "CBITS" => "7",
00091 "CBITWORDS" => "7",
00092 "CFAR" => "7",
00093 "CFARROM" => "7",
00094 "CHUGE" => "7",
00095 "CHUGEROM" => "7",
00096 "CINITROM" => "7",
00097 "CIRAM" => "7",
00098 "CNEAR" => "7",
00099 "CNEAR2" => "7",
00100 "CPROGRAM" => "7",
00101 "CROM" => "7",
00102 "CSHUGE" => "7",
00103 "CSHUGEROM" => "7",
00104 "CSYSTEM" => "7",
00105 "CUSTACK" => "7",
00106 "C_INIT" => "7",
00107 "CLIBRARY" => "8",
00108 "RTLIBRARY" => "8",
00109 "SHAREDCLIB" => "8",
00110 "SHAREDRTLIB" => "8");
00111
00112
00113
00114
00115
00116
00117
00118
00119 $this->linkscripts = array(
00120 "1" => "donothing",
00121 "2" => "donothing",
00122 "3" => "donothing",
00123 "4" => "donothing",
00124 "5" => "donothing",
00125 "6" => "donothing",
00126 "7" => "donothing",
00127 "8" => "donothing");
00128 }
00129
00130
00131 function donothing($keywordin)
00132 {
00133 return $keywordin;
00134 }
00135
00136 }?>