diff options
Diffstat (limited to 'fast/grammar.hh')
-rw-r--r-- | fast/grammar.hh | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/fast/grammar.hh b/fast/grammar.hh index c4ef3ad..d17a331 100644 --- a/fast/grammar.hh +++ b/fast/grammar.hh @@ -1,30 +1,23 @@ #pragma once #include <string> -#include <sstream> using namespace std; -namespace Grammar { +namespace G { -class NT { - public: - string symbol; - unsigned int index; - - string s(); +struct NT { + string symbol; + unsigned int index; }; class T { - public: - string word; + string word; }; class Rule { - public: }; - } // namespace |