Mercurial > projects > ldc
view ir/irsymbol.h @ 1164:166042b48c28
Fix bug in CaseStatement::semantic when there's no enclosing switch.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 28 Mar 2009 21:10:53 +0100 |
parents | 2a687353c84d |
children | 46f6365a50d7 |
line wrap: on
line source
#ifndef __LDC_IR_IRSYMBOL_H__ #define __LDC_IR_IRSYMBOL_H__ #include "ir/ir.h" /// Base class for all symbols. struct IrSymbol { /// IrSymbol(Ir* ir) : ir(ir) {} /// Migrate symbols to current module if necessary. virtual void migrate() = 0; protected: /// Ir* ir; }; #endif