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
5c54431b
Commit
5c54431b
authored
Jan 15, 2009
by
Jesse Beder
Browse files
Applied patch for gcc -Wall
parent
7214ffc1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
src/map.cpp
src/map.cpp
+1
-0
src/node.cpp
src/node.cpp
+2
-0
src/regex.cpp
src/regex.cpp
+1
-0
src/sequence.cpp
src/sequence.cpp
+1
-0
No files found.
src/map.cpp
View file @
5c54431b
...
@@ -47,6 +47,7 @@ namespace YAML
...
@@ -47,6 +47,7 @@ namespace YAML
switch
(
pScanner
->
peek
().
type
)
{
switch
(
pScanner
->
peek
().
type
)
{
case
TT_BLOCK_MAP_START
:
ParseBlock
(
pScanner
,
state
);
break
;
case
TT_BLOCK_MAP_START
:
ParseBlock
(
pScanner
,
state
);
break
;
case
TT_FLOW_MAP_START
:
ParseFlow
(
pScanner
,
state
);
break
;
case
TT_FLOW_MAP_START
:
ParseFlow
(
pScanner
,
state
);
break
;
default:
break
;
}
}
}
}
...
...
src/node.cpp
View file @
5c54431b
...
@@ -64,6 +64,8 @@ namespace YAML
...
@@ -64,6 +64,8 @@ namespace YAML
m_pContent
=
new
Map
;
m_pContent
=
new
Map
;
m_pContent
->
Parse
(
pScanner
,
state
);
m_pContent
->
Parse
(
pScanner
,
state
);
break
;
break
;
default:
break
;
}
}
}
}
...
...
src/regex.cpp
View file @
5c54431b
...
@@ -74,6 +74,7 @@ namespace YAML
...
@@ -74,6 +74,7 @@ namespace YAML
case
REGEX_AND
:
m_pOp
=
new
AndOperator
;
break
;
case
REGEX_AND
:
m_pOp
=
new
AndOperator
;
break
;
case
REGEX_NOT
:
m_pOp
=
new
NotOperator
;
break
;
case
REGEX_NOT
:
m_pOp
=
new
NotOperator
;
break
;
case
REGEX_SEQ
:
m_pOp
=
new
SeqOperator
;
break
;
case
REGEX_SEQ
:
m_pOp
=
new
SeqOperator
;
break
;
default:
break
;
}
}
}
}
...
...
src/sequence.cpp
View file @
5c54431b
...
@@ -57,6 +57,7 @@ namespace YAML
...
@@ -57,6 +57,7 @@ namespace YAML
case
TT_BLOCK_SEQ_START
:
ParseBlock
(
pScanner
,
state
);
break
;
case
TT_BLOCK_SEQ_START
:
ParseBlock
(
pScanner
,
state
);
break
;
case
TT_BLOCK_ENTRY
:
ParseImplicit
(
pScanner
,
state
);
break
;
case
TT_BLOCK_ENTRY
:
ParseImplicit
(
pScanner
,
state
);
break
;
case
TT_FLOW_SEQ_START
:
ParseFlow
(
pScanner
,
state
);
break
;
case
TT_FLOW_SEQ_START
:
ParseFlow
(
pScanner
,
state
);
break
;
default:
break
;
}
}
}
}
...
...
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