diff --git a/src/regex.h b/src/regex.h index 6212983..3efa5fb 100644 --- a/src/regex.h +++ b/src/regex.h @@ -5,8 +5,8 @@ #include namespace YAML -{ - class Stream; +{ + struct Stream; 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(const std::string& str) const; - bool Matches(std::istream& in) const; + bool Matches(std::istream& in) const; bool Matches(Stream& in) 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; friend RegEx operator ! (const RegEx& ex); diff --git a/yaml-reader/tests/out.yaml b/yaml-reader/tests/out.yaml deleted file mode 100644 index c02918e..0000000 --- a/yaml-reader/tests/out.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- "basic node" -- ! "yeah baby" - ---- -- "basic node" -- !> "yeah baby" -