Changeset a8ed717


Ignore:
Timestamp:
Jul 20, 2020, 1:06:48 PM (14 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
923d25a
Parents:
aebf5b0
Message:

Small fix in printing, fixing mismatched casing for casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    raebf5b0 ra8ed717  
    2929
    3030template <typename C, typename... T>
    31 constexpr auto make_array(T&&... values) ->
    32         array<C,sizeof...(T)>
     31constexpr array<C,sizeof...(T)> make_array(T&&... values)
    3332{
    3433        return array<C,sizeof...(T)>{
     
    842841        virtual const ast::Expr * visit( const ast::CastExpr * node ) override final {
    843842                ++indent;
    844                 os << (node->isGenerated ? "Generated" : "Explicit") << " cast of:" << endl << indent;
     843                os << (node->isGenerated ? "Generated" : "Explicit") << " Cast of:" << endl << indent;
    845844                safe_print( node->arg );
    846845                os << endl << indent-1 << "... to:";
Note: See TracChangeset for help on using the changeset viewer.