mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-21 19:25:24 -04: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