~eda-qa/leaflang/misc

« back to all changes in this revision

Viewing changes to src/lang/dump/statement.inc.cpp

  • Committer: edA-qa mort-ora-y
  • Date: 2017-07-29 08:27:14 UTC
  • Revision ID: eda-qa@disemia.com-20170729082714-1tzw9assx4rzh816
prep for error_statement change

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        unindent();
144
144
        out << indent_str() << "}";
145
145
 
146
 
        dump_error_statement( *ds );
 
146
        dump_error_statement_base( *ds );
147
147
}
148
148
 
149
149
void dump::dump_statement( statement const * st ) {
275
275
                out << "ignore ";
276
276
        }
277
277
        dump_expression( es->expr.get(), ef_isolated );
278
 
        dump_error_statement( *es );
 
278
        dump_error_statement_base( *es );
279
279
}
280
280
 
281
 
void dump::dump_error_statement( error_statement const & ds ) {
 
281
void dump::dump_error_statement_base( error_statement_base const & ds ) {
282
282
        if( ds.error.on_error ) {
283
283
                out << " on ";
284
284
                switch( ds.error.on_match ) {