Added main loop of parser.
This commit is contained in:
@@ -9,6 +9,10 @@ Symbol::~Symbol() {
|
||||
|
||||
}
|
||||
|
||||
const bool Symbol::operator==(const Symbol &other) {
|
||||
return( name == other.name && isTerminal == other.isTerminal);
|
||||
}
|
||||
|
||||
std::string Symbol::toString() {
|
||||
return(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user