| 38 | #include "piuCode.h" |
| 39 | |
| 40 | void PiuCodeParserAdvance(PiuCodeParser parser) |
| 41 | { |
| 42 | xsStringValue string; |
| 43 | parser->columnIndex++; |
| 44 | parser->input += parser->size; |
| 45 | string = fxUTF8Decode(parser->string + parser->input, &parser->character); |
| 46 | if (parser->character <= 0) { |
| 47 | parser->character = 0; |
| 48 | parser->size = 0; |
| 49 | } |
| 50 | else { |
| 51 | parser->size = string - (parser->string + parser->input); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | void PiuCodeParserBegin(PiuCode* self, PiuCodeParser parser) |
| 56 | { |
no test coverage detected