mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Fixed complex keys.
This commit is contained in:
parent
c63ebbd878
commit
01ef70a6f9
3 changed files with 11 additions and 103 deletions
|
@ -229,14 +229,14 @@ namespace YAML
|
|||
Eat(1);
|
||||
|
||||
// then eat a comment
|
||||
if(Exp::Comment.Matches(INPUT.peek())) {
|
||||
if(Exp::Comment.Matches(INPUT)) {
|
||||
// eat until line break
|
||||
while(INPUT && !Exp::Break.Matches(INPUT.peek()))
|
||||
while(INPUT && !Exp::Break.Matches(INPUT))
|
||||
Eat(1);
|
||||
}
|
||||
|
||||
// if it's NOT a line break, then we're done!
|
||||
if(!Exp::Break.Matches(INPUT.peek()))
|
||||
if(!Exp::Break.Matches(INPUT))
|
||||
break;
|
||||
|
||||
// otherwise, let's eat the line break and keep going
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue