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