Fixing list copy and grammar sentence generation

This commit is contained in:
IlushaShurupov 2023-08-11 18:49:45 +03:00
parent 43fe34dcbf
commit 0a886bd8a8
5 changed files with 38 additions and 13 deletions

View file

@ -22,6 +22,9 @@ namespace tp {
struct Term {
String id;
bool terminal;
bool operator==(const Term& in) const {
return (id == in.id) && (terminal == in.terminal);
}
};
List<Term> terms;
};