Make sure conflicts returned by compile are unique
This commit is contained in:
parent
53285f7d0c
commit
e1e0cc6278
7 changed files with 23 additions and 11 deletions
|
|
@ -35,6 +35,7 @@ namespace tree_sitter {
|
|||
Conflict(std::string description);
|
||||
std::string description;
|
||||
bool operator==(const Conflict &other) const;
|
||||
bool operator<(const Conflict &other) const;
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream &stream, const Grammar &grammar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue