Index: compiled/StringScanner.h |
=================================================================== |
--- a/compiled/StringScanner.h |
+++ b/compiled/StringScanner.h |
@@ -39,16 +39,22 @@ |
return mPos >= mEnd; |
} |
String::size_type position() const |
{ |
return mPos - 1; |
} |
+ void back() |
+ { |
+ if (mPos > 0) |
+ mPos--; |
+ } |
+ |
String::value_type next() |
{ |
String::value_type result = done() ? mTerminator : mStr[mPos]; |
mPos++; |
return result; |
} |
bool skipOne(String::value_type ch) |