From 55add1dacbc718eed350a67bb4c7fe2a1650bbea Mon Sep 17 00:00:00 2001 From: Yuji Hirose Date: Mon, 8 Apr 2019 11:40:27 -0400 Subject: [PATCH] Fix #60 --- peglib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peglib.h b/peglib.h index a636ec3..14b2628 100644 --- a/peglib.h +++ b/peglib.h @@ -3010,7 +3010,7 @@ struct AstBase : public Annotation const std::string token; std::vector>> nodes; - std::shared_ptr> parent; + std::weak_ptr> parent; }; template