mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Added line/column data for nodes so they can give better invalid scalar exceptions.
This commit is contained in:
@@ -37,6 +37,10 @@ namespace YAML
|
||||
{
|
||||
Clear();
|
||||
|
||||
// save location
|
||||
m_line = pScanner->peek().line;
|
||||
m_column = pScanner->peek().column;
|
||||
|
||||
ParseHeader(pScanner, state);
|
||||
|
||||
// is this an alias? if so, it can have no content
|
||||
|
Reference in New Issue
Block a user