~eda-qa/leaflang/misc

« back to all changes in this revision

Viewing changes to include/lang/do_statement.hpp

  • 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:
1
1
#ifndef LEAF_DO_STATEMENT_HPP
2
2
#define LEAF_DO_STATEMENT_HPP
3
3
 
4
 
#include "statement.hpp"
 
4
#include "error_statement.hpp"
5
5
 
6
6
#include <vector>
7
7
 
8
 
namespace leaf
9
 
{
 
8
namespace leaf {
10
9
 
11
10
struct expression;
12
11
 
16
15
                - a raw statement_block can be executed
17
16
                - no catch-all condition is required
18
17
*/
19
 
struct do_statement : public error_statement
20
 
{
 
18
struct do_statement : public error_statement_base {
21
19
        do_statement() {
22
20
                loop = false;
23
21
        }