Commit 22551cff authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed AST::asName() cast.

parent b60cbecd
...@@ -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;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment