Remove unused consumed_symbols vector from parse items
This commit is contained in:
parent
d957021982
commit
3f770ff3c3
12 changed files with 203 additions and 220 deletions
|
|
@ -34,14 +34,6 @@ namespace tree_sitter {
|
|||
(symbol == other.symbol);
|
||||
}
|
||||
|
||||
bool LexAction::operator<(const LexAction &other) const {
|
||||
if (type < other.type) return true;
|
||||
if (type > other.type) return false;
|
||||
if (state_index < other.state_index) return true;
|
||||
if (state_index > other.state_index) return false;
|
||||
return (symbol < other.symbol);
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream &stream, const LexAction &action) {
|
||||
switch (action.type) {
|
||||
case LexActionTypeError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue