diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-20 15:28:48 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-20 15:28:48 +0200 |
commit | a9e4e3e3224647c178cca1177f17e89fe8866d22 (patch) | |
tree | f7a1d3da91c489af2748235e614b2bb0014f6304 /fast/grammar.hh | |
parent | 41046f6ac02a1d947d656d033ecb53a249e7cc7e (diff) |
cleanup
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 |