2023-01-23 17:31:08 -05:00
|
|
|
// Copyright 2023 xensik. All rights reserved.
|
2022-02-18 13:07:37 -05:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a GNU GPLv3 license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace xsk::arc
|
|
|
|
{
|
|
|
|
|
|
|
|
struct block
|
|
|
|
{
|
|
|
|
using ptr = std::unique_ptr<block>;
|
|
|
|
|
|
|
|
std::string loc_end;
|
|
|
|
std::string loc_break;
|
|
|
|
std::string loc_continue;
|
|
|
|
abort_t abort;
|
|
|
|
bool is_dev;
|
|
|
|
|
2022-03-21 11:36:09 -04:00
|
|
|
block() : abort(abort_t::abort_none), is_dev(false) {}
|
|
|
|
block(const std::string& lbreak, const std::string& lcont) : loc_break(lbreak), loc_continue(lcont), abort(abort_t::abort_none), is_dev(false) {}
|
2022-02-18 13:07:37 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace xsk::arc
|