decl.old 216 B

12345678910111213141516
  1. #ifndef DECL_H
  2. #define DECL_H
  3. #include "type.h"
  4. const int OFFSET_GLOBAL=0x80000000;
  5. struct Decl{
  6. int offset;
  7. Type *type;
  8. Decl( int n,Type *t ):offset(n),type(t){}
  9. virtual Decl *Decl(){ return 0; }
  10. };
  11. #endif