mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2025-01-22 21:35:29 +00:00
Fix #60
This commit is contained in:
parent
38d48971f3
commit
55add1dacb
2
peglib.h
2
peglib.h
@ -3010,7 +3010,7 @@ struct AstBase : public Annotation
|
|||||||
const std::string token;
|
const std::string token;
|
||||||
|
|
||||||
std::vector<std::shared_ptr<AstBase<Annotation>>> nodes;
|
std::vector<std::shared_ptr<AstBase<Annotation>>> nodes;
|
||||||
std::shared_ptr<AstBase<Annotation>> parent;
|
std::weak_ptr<AstBase<Annotation>> parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user