Skip to content

Commit

Permalink
Copyright year update
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed Feb 24, 2024
1 parent d87961f commit a8b98be
Show file tree
Hide file tree
Showing 279 changed files with 315 additions and 313 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

cmake_minimum_required(VERSION 3.8)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

# Fetch nanobench.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/file/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

# Benchmarking executable.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/file/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#define ANKERL_NANOBENCH_IMPLEMENT
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

include(FetchContent)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/baseline.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <lexy/input/file.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/boost.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <boost/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/lexy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <lexy/action/validate.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#define ANKERL_NANOBENCH_IMPLEMENT
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/nlohmann.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <lexy/input/file.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/pegtl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <lexy/input/file.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/json/rapidjson.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <lexy/input/file.hpp>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

# Benchmarking executable.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swar/any.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include "swar.hpp"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swar/literal.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include "swar.hpp"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swar/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#define ANKERL_NANOBENCH_IMPLEMENT
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swar/swar.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef BENCHMARKS_SWAR_SWAR_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion cmake/lexyConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

# lexy CMake configuration file.
Expand Down
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

find_program(HUGO_BINARY hugo)
Expand Down
2 changes: 1 addition & 1 deletion docs/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title = "lexy"
baseURL = "https://lexy.foonathan.net/"
languageCode = "en-us"
copyright = "2020-2023 Jonathan Müller and lexy contributors"
copyright = "2020-2024 Jonathan Müller and lexy contributors"

disableKinds = ["RSS", "taxonomy"]

Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
# Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
# SPDX-License-Identifier: BSL-1.0

add_executable(lexy_example_config)
Expand Down
2 changes: 1 addition & 1 deletion examples/calculator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion examples/config.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion examples/email.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion examples/ip_address.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion examples/json.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cinttypes>
Expand Down
2 changes: 1 addition & 1 deletion examples/protobuf.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

// This examples parses a protobuf message in the binary encoding.
Expand Down
2 changes: 1 addition & 1 deletion examples/shell.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <map>
Expand Down
2 changes: 1 addition & 1 deletion examples/turing.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

// This example demonstrates that lexy is turing complete:
Expand Down
2 changes: 1 addition & 1 deletion examples/xml.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/any_ref.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_ANY_REF_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/assert.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_ASSERT_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/buffer_builder.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_BUFFER_BUILDER_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/code_point.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_CODE_POINT_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/config.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_CONFIG_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/detect.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_DETECT_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/integer_sequence.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_INTEGER_SEQUENCE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/invoke.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_INVOKE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/iterator.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_ITERATOR_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/lazy_init.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_LAZY_INIT_HPP_INCLUDED
Expand Down
13 changes: 6 additions & 7 deletions include/lexy/_detail/memory_resource.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_MEMORY_RESOURCE_HPP_INCLUDED
Expand Down Expand Up @@ -29,7 +29,7 @@ class default_memory_resource
static void* allocate(std::size_t bytes, std::size_t alignment)
{
if (alignment > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
return ::operator new (bytes, std::align_val_t{alignment});
return ::operator new(bytes, std::align_val_t{alignment});
else
return ::operator new(bytes);
}
Expand All @@ -47,14 +47,14 @@ class default_memory_resource

#ifdef __cpp_sized_deallocation
if (alignment > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
::operator delete (ptr, bytes, std::align_val_t{alignment});
::operator delete(ptr, bytes, std::align_val_t{alignment});
else
::operator delete(ptr, bytes);
#else
(void)bytes;

if (alignment > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
::operator delete (ptr, std::align_val_t{alignment});
::operator delete(ptr, std::align_val_t{alignment});
else
::operator delete(ptr);
#endif
Expand Down Expand Up @@ -140,9 +140,8 @@ using memory_resource_ptr
_memory_resource_ptr<MemoryResource>>>;
// clang-format on

template <typename MemoryResource,
typename
= std::enable_if_t<std::is_void_v<MemoryResource> || std::is_empty_v<MemoryResource>>>
template <typename MemoryResource, typename = std::enable_if_t<std::is_void_v<MemoryResource>
|| std::is_empty_v<MemoryResource>>>
constexpr MemoryResource* get_memory_resource()
{
return nullptr;
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/nttp_string.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_NTTP_STRING_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/stateless_lambda.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_STATELESS_LAMBDA_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/std.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_STD_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/string_view.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_STRING_VIEW_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/swar.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_SWAR_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/tuple.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_TUPLE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/_detail/type_name.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_DETAIL_TYPE_NAME_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/base.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_BASE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/match.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_MATCH_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/parse.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_PARSE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/parse_as_tree.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_PARSE_AS_TREE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/scan.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_SCAN_HPP_INCLUDED
Expand Down
5 changes: 2 additions & 3 deletions include/lexy/action/trace.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_TRACE_HPP_INCLUDED
Expand Down Expand Up @@ -43,8 +43,7 @@ constexpr auto debug = lexy::_detail::to_type_string<_debug, Str>{};
#endif

#define LEXY_DEBUG(Str) \
LEXY_NTTP_STRING(::lexyd::_debug, Str) \
{}
LEXY_NTTP_STRING(::lexyd::_debug, Str) {}
} // namespace lexyd

//=== trace ====//
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/action/validate.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_ACTION_VALIDATE_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/callback.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_CALLBACK_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/callback/adapter.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_CALLBACK_ADAPTER_HPP_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion include/lexy/callback/aggregate.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2020-2023 Jonathan Müller and lexy contributors
// Copyright (C) 2020-2024 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0

#ifndef LEXY_CALLBACK_AGGREGATE_HPP_INCLUDED
Expand Down
Loading

0 comments on commit a8b98be

Please sign in to comment.