File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1607,7 +1607,7 @@ namespace eaglexml {
16071607 // continue to parse, until we get a valid node or reach the end-tag or the end of the file
16081608 do {
16091609
1610- if (m_topnode == parent && m_nextstatus == next_parse_endtag || m_nextstatus == next_eof)
1610+ if (( m_topnode == parent && m_nextstatus == next_parse_endtag) || m_nextstatus == next_eof)
16111611 return 0 ;
16121612
16131613 node = parse_according_to_status<parser_flags>();
@@ -2664,7 +2664,7 @@ namespace eaglexml {
26642664 // End of data - error
26652665 case char_type (' \0 ' ):
26662666 assert (m_topnode);
2667- if ( data && m_topnode->parent () != m_bottomnode || !data && m_topnode != m_bottomnode)
2667+ if (( data && m_topnode->parent () != m_bottomnode) || ( !data && m_topnode != m_bottomnode) )
26682668 EAGLEXML_PARSE_ERROR (" unexpected end of data" );
26692669 m_nextstatus = data? next_close_data_node : next_eof;
26702670 break ;
You can’t perform that action at this time.
0 commit comments