26 lines
603 B
C++
26 lines
603 B
C++
// Copyright 2023 xensik. All rights reserved.
|
|
//
|
|
// 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;
|
|
|
|
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) {}
|
|
};
|
|
|
|
} // namespace xsk::arc
|