Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.h

    r5f2f2d7 r843054c2  
    1010// Created On       : Sun May 17 21:44:03 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun  8 14:47:14 2015
    13 // Update Count     : 5
     12// Last Modified On : Tue May 19 16:49:21 2015
     13// Update Count     : 3
    1414//
    1515
     
    1717#define MANGLER_H
    1818
    19 #include <sstream>
     19#include <strstream>
    2020#include "SynTree/SynTree.h"
    2121#include "SynTree/Visitor.h"
     
    4343                virtual void visit( TupleType *tupleType );
    4444 
    45                 std::string get_mangleName() { return mangleName.str(); }
     45                std::string get_mangleName() { return std::string( mangleName.str(), mangleName.pcount() ); }
    4646          private:
    47                 std::ostringstream mangleName;
     47                std::ostrstream mangleName;
    4848                typedef std::map< std::string, std::pair< int, int > > VarMapType;
    4949                VarMapType varNums;
Note: See TracChangeset for help on using the changeset viewer.