Open Mirko-von-Leipzig opened 4 years ago
I have same issue
solved: problem was i wrote class like this: class subclass ;public parentclass { } THAT FAILED, but below works, notice opening bracket. class subclass :public parentclass { }
same problem puting { on the same line fix it
there are reduant prefixs on class methosd:
my code is :
template
and the generated code is:
template
Graph::Graph::Graph(int size, T*vertexList, int **degeMatrix) {
}
int Graph::Graph::getPosOfVertex(T vertex) {
}
int Graph::Graph::getWeightOfEdge(T vertex1, T vertex2) {
}
int Graph::Graph::getFirstNeighbor(T vertex) {
}
int Graph::Graph::getNextNeighbor(T vertex, T afterVertex) {
}
bool Graph::Graph::insertVertex(const T vertex) {
}
reduant Graph::
The following fails with
grammar error