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

@ -71,7 +71,7 @@ namespace YAML
std::set <Token *> m_limboTokens;
// state info
bool m_startedStream;
bool m_startedStream, m_endedStream;
bool m_simpleKeyAllowed;
int m_flowLevel; // number of unclosed '[' and '{' indicators
std::stack <int> m_indents;