Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    rbf2438c rf7cb0bc  
    1717#define CODEGENV_H
    1818
    19 #include <list>                   // for list
    20 #include <ostream>                // for ostream, operator<<
    21 #include <string>                 // for string
     19#include <list>
    2220
    23 #include "SynTree/Declaration.h"  // for DeclarationWithType (ptr only), Fun...
    24 #include "SynTree/Visitor.h"      // for Visitor
    25 #include "SynTree/SynTree.h"      // for Visitor Nodes
     21#include "SynTree/Declaration.h"
     22#include "SynTree/SynTree.h"
     23#include "SynTree/Visitor.h"
     24
     25#include "SymTab/Indexer.h"
     26
     27#include "Common/Indenter.h"
     28#include "Common/utility.h"
    2629
    2730namespace CodeGen {
     
    100103                template< class Iterator > void genCommaList( Iterator begin, Iterator end );
    101104
    102                 struct Indenter {
    103                         Indenter(CodeGenerator &cg) : cg(cg) {}
    104                         CodeGenerator & cg;
    105                         std::ostream& operator()(std::ostream & os) const;
    106                 };
    107 
    108105                struct LabelPrinter {
    109106                        LabelPrinter(CodeGenerator &cg) : cg(cg), labels( 0 ) {}
     
    128125          private:
    129126                Indenter indent;
    130                 int cur_indent;
    131127                bool insideFunction;
    132128                std::ostream &output;
Note: See TracChangeset for help on using the changeset viewer.