Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/LabelGenerator.cc

    rde62360d r888cbe4  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // LabelGenerator.cc -- 
     7// LabelGenerator.cc --
    88//
    99// Author           : Rodolfo G. Esteves
     
    1818
    1919#include "LabelGenerator.h"
     20#include "SynTree/Label.h"
     21#include "SynTree/Attribute.h"
    2022
    2123namespace ControlStruct {
     
    3335                os << "__L" << current++ << "__" << suffix;
    3436                std::string ret = os.str();
    35                 return Label( ret );
     37                Label l( ret );
     38                l.get_attributes().push_back( new Attribute("unused") );
     39                return l;
    3640        }
    3741} // namespace ControlStruct
Note: See TracChangeset for help on using the changeset viewer.