132 ByteMark* mark1; |
133 ByteMark* mark1; |
133 ByteMark* mark2; |
134 ByteMark* mark2; |
134 EScopeType type; |
135 EScopeType type; |
135 DataBuffer* buffer1; |
136 DataBuffer* buffer1; |
136 int globalVarIndexBase; |
137 int globalVarIndexBase; |
|
138 int globalArrayIndexBase; |
137 int localVarIndexBase; |
139 int localVarIndexBase; |
138 |
140 |
139 // switch-related stuff |
141 // switch-related stuff |
140 List<CaseInfo>::Iterator casecursor; |
142 List<CaseInfo>::Iterator casecursor; |
141 List<CaseInfo> cases; |
143 List<CaseInfo> cases; |
142 List<Variable*> localVariables; |
144 List<Variable*> localVariables; |
143 List<Variable*> globalVariables; |
145 List<Variable*> globalVariables; |
|
146 List<Variable*> globalArrays; |
144 }; |
147 }; |
145 |
148 |
146 // ============================================================================ |
149 // ============================================================================ |
147 // |
150 // |
148 class BotscriptParser |
151 class BotscriptParser |