Unified line endings.

This commit is contained in:
Jesse Beder
2008-09-03 22:17:17 +00:00
parent 80db86e771
commit 5c0db0d21b
12 changed files with 60 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
#include "crt.h"
#include "regex.h"
#include "stream.h"
#include "regex.h"
#include "stream.h"
#include <iostream>
namespace YAML
@@ -92,8 +92,8 @@ namespace YAML
bool RegEx::Matches(std::istream& in) const
{
return Match(in) >= 0;
}
}
bool RegEx::Matches(Stream& in) const
{
return Match(in) >= 0;
@@ -113,12 +113,12 @@ namespace YAML
return m_pOp->Match(str, *this);
}
// Match
// Match
int RegEx::Match(Stream& in) const
{
{
return Match(in.stream());
}
}
// Match
// . The stream version does the same thing as the string version;
// REMEMBER that we only match from the start of the stream!