23 #include "EXISerializer.h"
24 #include "stringManipulate.h"
32 static void closeOptionsStream(
EXIStream* strm);
108 closeOptionsStream(&options_strm);
114 static void closeOptionsStream(
EXIStream* strm)
127 boolean hasUncommon =
FALSE;
128 boolean hasLesscommon =
FALSE;
129 boolean hasCommon =
FALSE;
130 unsigned int ruleContext = 0;
134 tmpEvCode.
part[0] = 0;
135 tmpEvCode.
bits[0] = 1;
146 hasLesscommon =
TRUE;
151 hasLesscommon =
TRUE;
157 tmpEvCode.
part[0] = 0;
158 tmpEvCode.
bits[0] = 2;
163 tmpEvCode.
part[0] = 0;
164 tmpEvCode.
bits[0] = 2;
170 tmpEvCode.
part[0] = 0;
171 tmpEvCode.
bits[0] = 3;
177 tmpEvCode.
part[0] = 0;
178 tmpEvCode.
bits[0] = 1;
184 tmpEvCode.
part[0] = 1;
185 tmpEvCode.
bits[0] = 1;
189 tmpEvCode.
part[0] = 0;
190 tmpEvCode.
bits[0] = 0;
197 tmpEvCode.
part[0] = 1 - ruleContext;
198 tmpEvCode.
bits[0] = 3;
202 tmpEvCode.
part[0] = 0;
203 tmpEvCode.
bits[0] = 0;
209 tmpEvCode.
part[0] = 2 - ruleContext;
210 tmpEvCode.
bits[0] = 3 - (ruleContext == 2);
215 tmpEvCode.
part[0] = 0;
216 tmpEvCode.
bits[0] = 0;
222 tmpEvCode.
part[0] = 3 - ruleContext;
223 tmpEvCode.
bits[0] = 3 - (tmpEvCode.
part[0] < 2);
228 tmpEvCode.
part[0] = 0;
229 tmpEvCode.
bits[0] = 0;
235 tmpEvCode.
part[0] = 4 - ruleContext;
236 tmpEvCode.
bits[0] = 3 - (tmpEvCode.
part[0] < 3) - (tmpEvCode.
part[0] == 0);
243 tmpEvCode.
part[0] = 6 - ruleContext - (ruleContext > 0);
250 tmpEvCode.
part[0] = 1 - hasUncommon;
251 tmpEvCode.
bits[0] = 2;
257 tmpEvCode.
part[0] = 0;
258 tmpEvCode.
bits[0] = 3;
261 tmpEvCode.
bits[0] = 0;
267 tmpEvCode.
part[0] = 1 - ruleContext;
268 tmpEvCode.
bits[0] = 3;
272 tmpEvCode.
part[0] = 0;
273 tmpEvCode.
bits[0] = 0;
279 tmpEvCode.
part[0] = 2 - ruleContext;
280 tmpEvCode.
bits[0] = 3 - (ruleContext == 2);
284 tmpEvCode.
part[0] = 0;
285 tmpEvCode.
bits[0] = 0;
291 tmpEvCode.
part[0] = 3 - ruleContext;
292 tmpEvCode.
bits[0] = 3 - (tmpEvCode.
part[0] < 2);
296 tmpEvCode.
part[0] = 0;
297 tmpEvCode.
bits[0] = 0;
303 tmpEvCode.
part[0] = 4 - ruleContext;
304 tmpEvCode.
bits[0] = 3 - (tmpEvCode.
part[0] < 3) - (tmpEvCode.
part[0] == 0);
308 tmpEvCode.
part[0] = 0;
309 tmpEvCode.
bits[0] = 0;
313 tmpEvCode.
part[0] = 5 - ruleContext;
320 tmpEvCode.
part[0] = opts->
preserve != 0 ? 0 : (2 - hasUncommon);
325 tmpEvCode.
part[0] = 0;
326 tmpEvCode.
bits[0] = 0;
344 tmpEvCode.
part[0] = 1 - hasLesscommon;
345 tmpEvCode.
bits[0] = 2;
351 tmpEvCode.
part[0] = 0;
352 tmpEvCode.
bits[0] = 2;
355 tmpEvCode.
bits[0] = 0;
361 tmpEvCode.
part[0] = 1 - ruleContext;
362 tmpEvCode.
bits[0] = 2;
366 tmpEvCode.
part[0] = 0;
367 tmpEvCode.
bits[0] = 0;
373 tmpEvCode.
part[0] = 2 - ruleContext;
374 tmpEvCode.
bits[0] = 2 - (ruleContext == 2);
391 tmpEvCode.
part[0] = 1;
392 tmpEvCode.
bits[0] = 1;
393 tmpEvCode.
part[1] = 0;
394 tmpEvCode.
bits[1] = 0;
404 tmpEvCode.
part[0] = 0;
405 tmpEvCode.
bits[0] = 0;
409 tmpEvCode.
part[0] = 3 - ruleContext;
417 tmpEvCode.
part[0] = hasCommon? 0 : 2 - hasLesscommon;
418 tmpEvCode.
bits[0] = 2 - hasCommon;
421 tmpEvCode.
part[0] = 0;
422 tmpEvCode.
bits[0] = 0;
432 tmpEvCode.
part[0] = 0;
433 tmpEvCode.
bits[0] = 0;