Skip to content
Snippets Groups Projects
Commit 22551cff authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed AST::asName() cast.

parent b60cbecd
No related branches found
No related tags found
No related merge requests found
...@@ -1262,6 +1262,8 @@ class CPLUSPLUS_EXPORT NameAST: public ExpressionAST ...@@ -1262,6 +1262,8 @@ class CPLUSPLUS_EXPORT NameAST: public ExpressionAST
public: // annotations public: // annotations
Name *name; Name *name;
virtual NameAST *asName() { return this; }
public: public:
virtual NameAST *clone(MemoryPool *pool) const = 0; virtual NameAST *clone(MemoryPool *pool) const = 0;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment