Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.cc

    r3906301 r843054c2  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // SemanticError.cc --
     7// SemanticError.cc -- 
    88//
    99// Author           : Richard C. Bilson
     
    2626
    2727SemanticError::SemanticError( std::string error ) {
    28   append( error );
     28        errors.push_back( std::string( "Error: " ) + error );
    2929}
    3030
    3131void SemanticError::append( SemanticError &other ) {
    32   errors.splice( errors.end(), other.errors );
    33 }
    34 
    35 void SemanticError::append( const std::string & msg ) {
    36   errors.push_back( std::string( "Error: ") + msg );
     32        errors.splice( errors.end(), other.errors );
    3733}
    3834
Note: See TracChangeset for help on using the changeset viewer.