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:
Jesse Beder
2008-07-10 00:23:25 +00:00
parent 03e6b5b991
commit 4cfa233888
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;