Advance the start stack, placing a single character, null-terminated strong on the top. @note You should use StringStack::push, not this, if you want to properly push the stack.
| 195 | /// @note You should use StringStack::push, not this, if you want to |
| 196 | /// properly push the stack. |
| 197 | void advanceChar(char c) |
| 198 | { |
| 199 | mStartOffsets[mStartStackSize++] = mStart; |
| 200 | mStart += mLen; |
| 201 | mBuffer[mStart] = c; |
| 202 | mBuffer[mStart+1] = 0; |
| 203 | mStart += 1; |
| 204 | mLen = 0; |
| 205 | } |
| 206 | |
| 207 | /// Push the stack, placing a zero-length string on the top. |
| 208 | void push() |