| 532 | } |
| 533 | |
| 534 | Str *RunPreProcessor(Str *filename, Str *filedata) { |
| 535 | SourceFile *source = ReadSource(filename, filedata); |
| 536 | TokenList *tokens = Transform(source); |
| 537 | Str *result = new Str(); |
| 538 | for (Int i = 0; i < tokens->len(); i++) { |
| 539 | result->add(tokens->at(i).str); |
| 540 | } |
| 541 | return result; |
| 542 | } |