mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Collected pos, line, and column into a Mark struct
This commit is contained in:
@@ -48,12 +48,13 @@ namespace YAML
|
||||
bool IsWhitespaceToBeEaten(char ch);
|
||||
|
||||
struct SimpleKey {
|
||||
SimpleKey(int pos_, int line_, int column_, int flowLevel_);
|
||||
SimpleKey(const Mark& mark_, int flowLevel_);
|
||||
|
||||
void Validate();
|
||||
void Invalidate();
|
||||
|
||||
int pos, line, column, flowLevel;
|
||||
|
||||
Mark mark;
|
||||
int flowLevel;
|
||||
Token *pMapStart, *pKey;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user