Fixing list copy and grammar sentence generation

This commit is contained in:
IlushaShurupov 2023-08-11 18:49:45 +03:00 committed by Ilya Shurupov
parent ffb533ec9a
commit 24d554abc3
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;
};