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_millg extends HFile{
00006 function HFile_millg(){
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");
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 "G40" => "1",
00046 "G41" => "1",
00047 "G42" => "1",
00048 "G68" => "1",
00049 "G69" => "1",
00050 "G70" => "1",
00051 "G71" => "1",
00052 "G90" => "1",
00053 "G91" => "1",
00054 "G92" => "1",
00055 "G93" => "1",
00056 "G94" => "1",
00057 "G99" => "1",
00058 "G00" => "2",
00059 "G04" => "2",
00060 "G01" => "3",
00061 "G02" => "4",
00062 "G03" => "4",
00063 "G17" => "5",
00064 "G18" => "5",
00065 "G19" => "5",
00066 "M00" => "6",
00067 "M01" => "6",
00068 "M02" => "6",
00069 "M03" => "6",
00070 "M04" => "6",
00071 "M05" => "6",
00072 "M06" => "6",
00073 "M07" => "6",
00074 "M08" => "6",
00075 "M09" => "6",
00076 "M13" => "6",
00077 "M14" => "6",
00078 "M19" => "6",
00079 "M26" => "6",
00080 "M60" => "6",
00081 "G80" => "7",
00082 "G81" => "7",
00083 "G82" => "7",
00084 "G83" => "7",
00085 "G84" => "7");
00086
00087
00088
00089
00090
00091
00092
00093
00094 $this->linkscripts = array(
00095 "1" => "donothing",
00096 "2" => "donothing",
00097 "3" => "donothing",
00098 "4" => "donothing",
00099 "5" => "donothing",
00100 "6" => "donothing",
00101 "7" => "donothing");
00102 }
00103
00104
00105 function donothing($keywordin)
00106 {
00107 return $keywordin;
00108 }
00109
00110 }?>