diff --git a/src/Grammar.cpp b/src/Grammar.cpp index b82cbab4..64c16a7a 100644 --- a/src/Grammar.cpp +++ b/src/Grammar.cpp @@ -160,3 +160,8 @@ std::string Grammar::dump () const } //////////////////////////////////////////////////////////////////////////////// +void Grammar::validate () const +{ +} + +//////////////////////////////////////////////////////////////////////////////// diff --git a/src/Grammar.h b/src/Grammar.h index 0f6ee07f..60f06dfb 100644 --- a/src/Grammar.h +++ b/src/Grammar.h @@ -60,6 +60,8 @@ protected: }; private: + void validate () const; + std::string _start; std::map _rules; };