| 53 | } |
| 54 | |
| 55 | void PiuCodeParserBegin(PiuCode* self, PiuCodeParser parser) |
| 56 | { |
| 57 | parser->the = (*self)->the; |
| 58 | parser->slot = (*self)->string; |
| 59 | parser->runs = (*self)->runs; |
| 60 | parser->columnCount = 0; |
| 61 | parser->columnIndex = -1; |
| 62 | parser->lineCount = 1; |
| 63 | parser->input = 0; |
| 64 | parser->output = 0; |
| 65 | parser->size = 0; |
| 66 | parser->string = fxToString(parser->the, parser->slot); |
| 67 | parser->tab = 4; |
| 68 | parser->color = 0; |
| 69 | parser->offset = 0; |
| 70 | PiuTextBufferClear(parser->the, parser->runs); |
| 71 | PiuCodeParserAdvance(parser); |
| 72 | } |
| 73 | |
| 74 | void PiuCodeParserColorAt(PiuCodeParser parser, int32_t color, int32_t offset) |
| 75 | { |
nothing calls this directly
no test coverage detected