Added stream input to the regular expressions, greatly simplifying the usage (in particular, we no longer have to specify the number of characters to be checked).

This commit is contained in:
Jesse Beder
2008-06-27 19:07:30 +00:00
parent 4e435b1321
commit de29068110
4 changed files with 232 additions and 85 deletions

View File

@@ -71,8 +71,6 @@ namespace YAML
private:
char GetChar();
void Eat(int n = 1);
std::string Peek(int n);
void EatLineBreak();
bool IsWhitespaceToBeEaten(char ch);