| 282 | } |
| 283 | |
| 284 | void fxWriteIDs(txScript* script, FILE* file) |
| 285 | { |
| 286 | txByte* p = script->symbolsBuffer; |
| 287 | txID c, i; |
| 288 | mxDecode2(p, c); |
| 289 | for (i = 0; i < c; i++) { |
| 290 | if (fxIsCIdentifier((txString)p)) |
| 291 | fprintf(file, "#define xsID_%s (((xsIdentifier*)(the->code))[%d])\n", p, i); |
| 292 | p += mxStringLength((char*)p) + 1; |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | #ifdef XSTOOLS |
| 297 | extern int mainXSC(int argc, char* argv[]) ; |
no test coverage detected