The plain scalar scanner is almost done (and it scans a simple list correctly).

Also messed around with multiple character peeking on the input, and got something working.
This commit is contained in:
Jesse Beder
2008-06-27 00:18:52 +00:00
parent 31f7db5a0d
commit 873dbc2421
4 changed files with 32 additions and 30 deletions

View File

@@ -23,5 +23,10 @@ namespace YAML
class KeyToken: public Token {};
class ValueToken: public Token {};
class PlainScalarToken: public Token {};
class PlainScalarToken: public Token {
public:
void SetValue(const std::string& value) { m_value = value; }
protected:
std::string m_value;
};
}