Changed Table to store vectors of actions, changed Parser appropriately.
This commit is contained in:
@@ -11,7 +11,7 @@ class RNGLRParser {
|
||||
std::vector<Symbol*> input;
|
||||
GraphStructuredStack gss;
|
||||
//start node, lefthand side of the reduction, reduction length
|
||||
std::queue<std::pair< std::pair<GSSNode*, Symbol*>, int > toReduce;
|
||||
std::queue<std::pair< std::pair<NodeTree<int>*, Symbol*>, int > toReduce;
|
||||
//Node coming from, state going to
|
||||
std::queue< std::pair<GSSNode*, int> > toShift;
|
||||
std::queue< std::pair<NodeTree<int>*, int> > toShift;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user