commit | 347e06f1469dd5eb403cd5a7e608f705cfcecd19 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Tue Jan 05 14:41:53 2016 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Tue Jan 05 14:41:53 2016 +0900 |
tree | f48e835181bb0b10cd64213eaafc13a4d62af89d | |
parent | b91fb6f10484468f2aafdb328cf97d4ce98e20d3 [diff] [blame] |
Stop using dynamic_cast
diff --git a/expr.h b/expr.h index 606ef90..e479ed8 100644 --- a/expr.h +++ b/expr.h
@@ -41,6 +41,8 @@ virtual Value* Compact() { return this; } + virtual bool IsLiteral() const { return false; } + string DebugString() const; protected: