mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Combined the myriad ScannerExceptions and ParserExceptions to a single ParserException class that has a message and a line/column position in the file where the error occurred.
This commit is contained in:
8
parser.h
8
parser.h
@@ -9,8 +9,8 @@
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
class Node;
|
||||
class Scanner;
|
||||
struct Token;
|
||||
|
||||
class Parser
|
||||
{
|
||||
@@ -26,9 +26,9 @@ namespace YAML
|
||||
|
||||
private:
|
||||
void ParseDirectives();
|
||||
void HandleDirective(const std::string& name, const std::vector <std::string>& params);
|
||||
void HandleYamlDirective(const std::vector <std::string>& params);
|
||||
void HandleTagDirective(const std::vector <std::string>& params);
|
||||
void HandleDirective(Token *pToken);
|
||||
void HandleYamlDirective(Token *pToken);
|
||||
void HandleTagDirective(Token *pToken);
|
||||
|
||||
private:
|
||||
Scanner *m_pScanner;
|
||||
|
Reference in New Issue
Block a user