Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
aa25fadf
Commit
aa25fadf
authored
Aug 07, 2008
by
jbeder
Browse files
Fixed struct vs. class disparity.
parent
2d93b6ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
src/regex.h
src/regex.h
+4
-4
yaml-reader/tests/out.yaml
yaml-reader/tests/out.yaml
+0
-8
No files found.
src/regex.h
View file @
aa25fadf
...
...
@@ -5,8 +5,8 @@
#include <ios>
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
);
...
...
yaml-reader/tests/out.yaml
deleted
100644 → 0
View file @
2d93b6ce
---
-
"
basic
node"
-
!<!howdy>
"
yeah
baby"
---
-
"
basic
node"
-
!
<!<!howdy>> "yeah baby"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment