home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / Harvest C / Source Code / Scopes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-02  |  704 b   |  33 lines  |  [TEXT/ALFA]

  1. /*
  2.  * Harvest C
  3.  * 
  4.  * Copyright 1991 Eric W. Sink   All rights reserved.
  5.  * 
  6.  * This file defines the interface for scoping.
  7.  * 
  8.  */
  9.  
  10. #ifndef Scopes_INTERFACE
  11. #define Scopes_INTERFACE
  12.  
  13. typedef struct scopeS           Scopes_t;
  14. typedef Scopes_t P__H          *ScopesVia_t;
  15. typedef struct BlockStack_S     BlockStack_t;
  16. typedef BlockStack_t P__H      *BlockStackVia_t;
  17.  
  18. #include "SymTable.h"
  19.  
  20. struct scopeS {
  21.     SymListVia_t                    Tags;
  22.     SymListVia_t                    Labels;
  23.     SymListVia_t                    Symbols;
  24.     SymListVia_t                    Enums;
  25. };
  26.  
  27. struct BlockStack_S {
  28.     ScopesVia_t                     block;
  29.     BlockStackVia_t                 next;
  30. };
  31.  
  32. #endif
  33.