~eda-qa/leaflang/cpp

« back to all changes in this revision

Viewing changes to include/lang/do_statement.hpp

  • Committer: edA-qa mort-ora-y
  • Date: 2017-08-19 06:03:00 UTC
  • mfrom: (100.1.22 misc)
  • Revision ID: eda-qa@disemia.com-20170819060300-209dwd5884343mi0
merging miscelaneous changes, mainly platform improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 statement {
21
19
        do_statement() {
22
20
                loop = false;
23
21
        }
24
22
        
25
 
        virtual statement_form_t statement_form() const
26
 
        { return sf_do_statement; }
 
23
        virtual statement_form_t statement_form() const { 
 
24
                return sf_do_statement; 
 
25
        }
27
26
        virtual int get_flow() const;
28
27
        
29
28
        struct expr_list_item