Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Expr.cpp

    rb1f2007d rc4570af3  
    99// Author           : Aaron B. Moss
    1010// Created On       : Wed May 15 17:00:00 2019
    11 // Last Modified By : Peter A. Buhr
     11// Last Modified By : Andrew Beach
    1212// Created On       : Wed May 18 13:56:00 2022
    13 // Update Count     : 12
     13// Update Count     : 8
    1414//
    1515
     
    168168                        return addrType( refType->base );
    169169                } else {
    170                         SemanticError( loc, "Attempt to take address of non-lvalue expression %s",
    171                                                    toString( arg->result.get() ).c_str() );
     170                        SemanticError( loc, arg->result.get(),
     171                                "Attempt to take address of non-lvalue expression: " );
    172172                }
    173173        }
     
    240240                return 1;
    241241        }
    242         SemanticError( this->location, "Constant expression of non-integral type %s",
    243                                    toString( this ).c_str() );
     242        SemanticError( this, "Constant expression of non-integral type " );
    244243}
    245244
Note: See TracChangeset for help on using the changeset viewer.