6 {
8
9
10
11
12
13
14$this->nocase = "0";
15$this->notrim = "0";
16$this->perl = "0";
17
18
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25
26
27$this->indent = array("{");
28$this->unindent = array("}");
29
30
31
32$this->stringchars = array("\"", "'");
33$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "{", "}", "[", "]", "<", ">", ":", ";", "\"", "'", " ", ",", " ", ".", "?");
34$this->escchar = "";
35
36
37
38$this->linecommenton = array("//");
39$this->blockcommenton = array("/*");
40$this->blockcommentoff = array("*/");
41
42
43
44$this->keywords = array(
45 "bool" => "1",
46 "char" => "1",
47 "class" => "1",
48 "const" => "1",
49 "case" => "1",
50 "catch" => "1",
51 "const_cast" => "1",
52 "double" => "1",
53 "default" => "1",
54 "do" => "1",
55 "delete" => "1",
56 "dynamic_cast" => "1",
57 "else" => "1",
58 "enum" => "1",
59 "explicit" => "1",
60 "export" => "1",
61 "extern" => "1",
62 "for" => "1",
63 "false" => "1",
64 "float" => "1",
65 "friend" => "1",
66 "if" => "1",
67 "inline" => "1",
68 "int" => "1",
69 "long" => "1",
70 "mutable" => "1",
71 "new" => "1",
72 "namespace" => "1",
73 "operator" => "1",
74 "protected" => "1",
75 "private" => "1",
76 "public" => "1",
77 "reinterpret_cast" => "1",
78 "return" => "1",
79 "short" => "1",
80 "signed" => "1",
81 "sizeof" => "1",
82 "static" => "1",
83 "struct" => "1",
84 "static_cast" => "1",
85 "switch" => "1",
86 "template" => "1",
87 "throw" => "1",
88 "true" => "1",
89 "typedef" => "1",
90 "typename" => "1",
91 "this" => "1",
92 "try" => "1",
93 "typeid" => "1",
94 "union" => "1",
95 "unsigned" => "1",
96 "using" => "1",
97 "virtual" => "1",
98 "void" => "1",
99 "volatile" => "1",
100 "wchar_t" => "1",
101 "while" => "1",
102 "asm" => "2",
103 "auto" => "2",
104 "break" => "2",
105 "continue" => "2",
106 "goto" => "2",
107 "register" => "2",
108 "#define" => "3",
109 "#error" => "3",
110 "#include" => "3",
111 "#elif" => "3",
112 "#if" => "3",
113 "#line" => "3",
114 "#else" => "3",
115 "#ifdef" => "3",
116 "#pragma" => "3",
117 "#endif" => "3",
118 "#ifndef" => "3",
119 "#undef" => "3",
120 "+" => "4",
121 "-" => "4",
122 "=" => "4",
123 "//" => "4",
124 "/" => "4",
125 "%" => "4",
126 "&" => "4",
127 ">" => "4",
128 "<" => "4",
129 "^" => "4",
130 "!" => "4",
131 "|" => "4",
132 "*" => "4",
133 "{" => "5",
134 "}" => "5",
135 ";" => "5",
136 "(" => "5",
137 ")" => "5",
138 "," => "5");
139
140
141
142
143
144
145
146
147$this->linkscripts = array(
148 "1" => "donothing",
149 "2" => "donothing",
150 "3" => "donothing",
151 "4" => "donothing",
152 "5" => "donothing");
153}