Fixed struct vs. class disparity.

This commit is contained in:
jbeder
2008-08-07 03:37:16 +00:00
parent 2d93b6ce58
commit aa25fadf94
2 changed files with 4 additions and 12 deletions

View File

@@ -5,8 +5,8 @@
#include <ios> #include <ios>
namespace YAML namespace YAML
{ {
class Stream; struct Stream;
enum REGEX_OP { REGEX_EMPTY, REGEX_MATCH, REGEX_RANGE, REGEX_OR, REGEX_AND, REGEX_NOT, REGEX_SEQ }; enum REGEX_OP { REGEX_EMPTY, REGEX_MATCH, REGEX_RANGE, REGEX_OR, REGEX_AND, REGEX_NOT, REGEX_SEQ };
@@ -66,10 +66,10 @@ namespace YAML
bool Matches(char ch) const; bool Matches(char ch) const;
bool Matches(const std::string& str) const; bool Matches(const std::string& str) const;
bool Matches(std::istream& in) const; bool Matches(std::istream& in) const;
bool Matches(Stream& in) const; bool Matches(Stream& in) const;
int Match(const std::string& str) const; int Match(const std::string& str) const;
int Match(std::istream& in) const; int Match(std::istream& in) const;
int Match(Stream& in) const; int Match(Stream& in) const;
friend RegEx operator ! (const RegEx& ex); friend RegEx operator ! (const RegEx& ex);

View File

@@ -1,8 +0,0 @@
---
- "basic node"
- !<!howdy> "yeah baby"
---
- "basic node"
- !<!<!howdy>> "yeah baby"