Applied patch for gcc -Wall

This commit is contained in:
Jesse Beder
2009-01-15 17:12:13 +00:00
parent 7214ffc107
commit 5c54431b3b
4 changed files with 5 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ namespace YAML
switch(pScanner->peek().type) {
case TT_BLOCK_MAP_START: ParseBlock(pScanner, state); break;
case TT_FLOW_MAP_START: ParseFlow(pScanner, state); break;
default: break;
}
}

View File

@@ -64,6 +64,8 @@ namespace YAML
m_pContent = new Map;
m_pContent->Parse(pScanner, state);
break;
default:
break;
}
}

View File

@@ -74,6 +74,7 @@ namespace YAML
case REGEX_AND: m_pOp = new AndOperator; break;
case REGEX_NOT: m_pOp = new NotOperator; break;
case REGEX_SEQ: m_pOp = new SeqOperator; break;
default: break;
}
}

View File

@@ -57,6 +57,7 @@ namespace YAML
case TT_BLOCK_SEQ_START: ParseBlock(pScanner, state); break;
case TT_BLOCK_ENTRY: ParseImplicit(pScanner, state); break;
case TT_FLOW_SEQ_START: ParseFlow(pScanner, state); break;
default: break;
}
}