Merge branch 'main' into claude1

This commit is contained in:
Roland Conybeare 2026-02-27 22:07:46 +11:00
commit 1df8368717
2 changed files with 3 additions and 1 deletions

View file

@ -10,4 +10,5 @@ find_dependency(xo_expression2)
find_dependency(xo_gc)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Share.cmake")
check_required_components("@PROJECT_NAME@")

View file

@ -15,6 +15,7 @@
#include <xo/expression2/Expression.hpp>
#include <xo/gc/GCObject.hpp>
#include <xo/alloc2/abox.hpp>
#include <variant>
namespace xo {
namespace scm {
@ -91,7 +92,7 @@ namespace xo {
/** allocator for runtime errors **/
obj<AAllocator> error_allocator() const noexcept;
/** true iff parser is at top-level -> does not contain
/** true iff parser is at top-level -> does not contain
* state for a incomplete/partial expression
**/
bool is_at_toplevel() const noexcept;