mirror of
https://github.com/hyprwm/hyprlang.git
synced 2025-05-13 05:40:42 +01:00
Multiline support minor tweaks
This commit is contained in:
parent
20ffb9d4f2
commit
8cade6ebc0
3 changed files with 17 additions and 18 deletions
|
@ -447,8 +447,8 @@ namespace Hyprlang {
|
|||
|
||||
CConfigImpl* impl;
|
||||
|
||||
enum eGetNextLineFailure {
|
||||
GETNEXTLINEFAILURE_EOF,
|
||||
enum eGetNextLineFailure : uint8_t {
|
||||
GETNEXTLINEFAILURE_EOF = 0,
|
||||
GETNEXTLINEFAILURE_BACKSLASH,
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ extern "C" char** environ;
|
|||
|
||||
// defines
|
||||
inline constexpr const char* ANONYMOUS_KEY = "__hyprlang_internal_anonymous_key";
|
||||
inline constexpr const char* MULTILINE_SPACE_CHARSET = " \t";
|
||||
//
|
||||
|
||||
static size_t seekABIStructSize(const void* begin, size_t startOffset, size_t maxSize) {
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
static const char* MULTILINE_SPACE_CHARSET = " \t";
|
||||
|
||||
struct SHandler {
|
||||
std::string name = "";
|
||||
Hyprlang::SHandlerOptions options;
|
||||
|
|
Loading…
Reference in a new issue