Switched from moving the cursor forward (in Regex) to ignoring (this handles newlines properly).

Updated some of the character-in-scalar rules.
This commit is contained in:
beder
2008-07-10 00:23:25 +00:00
parent 0b2e0dd32b
commit e6aeb45d09
4 changed files with 21 additions and 12 deletions

View File

@@ -283,7 +283,7 @@ namespace YAML
return -1;
offset += n;
in.seekg(n, std::ios_base::cur);
in.ignore(n);
}
return offset;