Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
c3798d9b
Commit
c3798d9b
authored
Sep 13, 2011
by
Jesse Beder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tags to Node emitter output
parent
40c47f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/node/nodeevents.cpp
+3
-3
No files found.
src/node/nodeevents.cpp
View file @
c3798d9b
...
@@ -72,16 +72,16 @@ namespace YAML
...
@@ -72,16 +72,16 @@ namespace YAML
handler
.
OnNull
(
Mark
(),
anchor
);
handler
.
OnNull
(
Mark
(),
anchor
);
break
;
break
;
case
NodeType
:
:
Scalar
:
case
NodeType
:
:
Scalar
:
handler
.
OnScalar
(
Mark
(),
""
,
anchor
,
node
.
scalar
());
handler
.
OnScalar
(
Mark
(),
node
.
tag
()
,
anchor
,
node
.
scalar
());
break
;
break
;
case
NodeType
:
:
Sequence
:
case
NodeType
:
:
Sequence
:
handler
.
OnSequenceStart
(
Mark
(),
""
,
anchor
);
handler
.
OnSequenceStart
(
Mark
(),
node
.
tag
()
,
anchor
);
for
(
detail
::
const_node_iterator
it
=
node
.
begin
();
it
!=
node
.
end
();
++
it
)
for
(
detail
::
const_node_iterator
it
=
node
.
begin
();
it
!=
node
.
end
();
++
it
)
Emit
(
**
it
,
handler
,
am
);
Emit
(
**
it
,
handler
,
am
);
handler
.
OnSequenceEnd
();
handler
.
OnSequenceEnd
();
break
;
break
;
case
NodeType
:
:
Map
:
case
NodeType
:
:
Map
:
handler
.
OnMapStart
(
Mark
(),
""
,
anchor
);
handler
.
OnMapStart
(
Mark
(),
node
.
tag
()
,
anchor
);
for
(
detail
::
const_node_iterator
it
=
node
.
begin
();
it
!=
node
.
end
();
++
it
)
{
for
(
detail
::
const_node_iterator
it
=
node
.
begin
();
it
!=
node
.
end
();
++
it
)
{
Emit
(
*
it
->
first
,
handler
,
am
);
Emit
(
*
it
->
first
,
handler
,
am
);
Emit
(
*
it
->
second
,
handler
,
am
);
Emit
(
*
it
->
second
,
handler
,
am
);
...
...
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