From 3f534c582464d0bcf815157aeaadf682b74ded34 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 15 Feb 2020 18:04:26 +0100 Subject: Fix compile error case --- grammer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'grammer.h') 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& tokens, const std::vector& 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(); -- cgit v1.2.3