Ignore:
Timestamp:
Feb 14, 2017, 3:53:52 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
9bb90a86
Parents:
294647b
Message:

Implemented filename and linenumber errors in most cases, only missing constructor errors apparently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    r294647b r138e29e  
    320320
    321321inline std::string to_string( const CodeLocation& location ) {
    322         return location.filename + ":" + std::to_string(location.linenumber);
     322        return location.linenumber >= 0 ? location.filename + ":" + std::to_string(location.linenumber) + " " : "";
    323323}
    324324#endif // _UTILITY_H
Note: See TracChangeset for help on using the changeset viewer.