summaryrefslogtreecommitdiffhomepage
path: root/grammer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-02-15 18:04:26 +0100
committerRoland Reichwein <mail@reichwein.it>2020-02-15 18:04:26 +0100
commit3f534c582464d0bcf815157aeaadf682b74ded34 (patch)
tree0b3b9672df6f96a8224e454749c140ca9789456f /grammer.h
parent477d82f44f5303b55b456f58f53e878289710743 (diff)
Fix compile error case
Diffstat (limited to 'grammer.h')
-rw-r--r--grammer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammer.h b/grammer.h
index 4f0d235..f6f9d95 100644
--- a/grammer.h
+++ b/grammer.h
@@ -55,6 +55,8 @@ private:
size_t CommonPrefix(const std::vector<Token>& tokens, const std::vector<std::string>& types);
void AddFirstNode();
bool AddRootNode();
+ void removeTokensUpTo(index_t token_id);
+ void removeTokensUpTo(index_t token_id, index_t node_id);
void RemoveLastNode();
void ChangeNodeType();
void TrackBack();