Merge branch 'claude1' of github.com:Rconybea/xo-umbrella2 into claude1
This commit is contained in:
commit
e9e708dc56
14 changed files with 24 additions and 13 deletions
|
|
@ -77,7 +77,11 @@ namespace ut {
|
|||
|
||||
//REQUIRE(sbuf.lo() == sbuf.pbase());
|
||||
|
||||
#ifdef __linux__
|
||||
auto expected = string_view("empty log_streambuf :sbuf.lo 0 :sbuf.hi 0 :sbuf.color_escape_chars 0");
|
||||
#else
|
||||
auto expected = string_view("empty log_streambuf :sbuf.lo 0x0 :sbuf.hi 0x0 :sbuf.color_escape_chars 0");
|
||||
#endif
|
||||
|
||||
REQUIRE(string_view(sbuf) == expected);
|
||||
|
||||
|
|
|
|||
|
|
@ -729,7 +729,7 @@ namespace xo {
|
|||
|
||||
vsm.begin_interactive_session();
|
||||
|
||||
span_type input = span_type::from_cstr("report_memory_use();");
|
||||
span_type input = span_type::from_cstr("report-memory-use();");
|
||||
|
||||
log && log(xtag("input", input));
|
||||
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ namespace xo {
|
|||
xfer_cwd(obj<ARuntimeContext> rcx)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
::getcwd(buf, sizeof(buf));
|
||||
char * cwd = ::getcwd(buf, sizeof(buf));
|
||||
|
||||
return obj<AGCObject,DString>(DString::from_cstr(rcx.allocator(), buf));
|
||||
return obj<AGCObject,DString>(DString::from_cstr(rcx.allocator(), cwd));
|
||||
}
|
||||
|
||||
DPrimitive_gco_0 *
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
mode: "implementation",
|
||||
output_cpp_dir: "src/reader2/facet",
|
||||
output_hpp_dir: "include/xo/interpreter2",
|
||||
output_hpp_dir: "include/xo/reader2",
|
||||
output_impl_subdir: "env",
|
||||
includes: [
|
||||
"<xo/alloc2/GCObject.hpp>",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
mode: "implementation",
|
||||
output_cpp_dir: "src/interpreter2/facet",
|
||||
output_hpp_dir: "include/xo/interpreter2",
|
||||
output_cpp_dir: "src/reader2/facet",
|
||||
output_hpp_dir: "include/xo/reader2",
|
||||
output_impl_subdir: "env",
|
||||
includes: [ "<xo/printable2/Printable.hpp>",
|
||||
"<xo/printable2/detail/IPrintable_Xfer.hpp>" ],
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
mode: "implementation",
|
||||
output_cpp_dir: "src/reader2",
|
||||
output_hpp_dir: "include/xo/reader2",
|
||||
output_impl_subdir: "ssm",
|
||||
output_impl_subdir: "paren",
|
||||
includes: [ "<xo/printable2/Printable.hpp>",
|
||||
"<xo/printable2/detail/IPrintable_Xfer.hpp>" ],
|
||||
local_types: [],
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
mode: "implementation",
|
||||
output_cpp_dir: "src/reader2",
|
||||
output_hpp_dir: "include/xo/reader2",
|
||||
output_impl_subdir: "ssm",
|
||||
output_impl_subdir: "paren",
|
||||
includes: [ "\"SyntaxStateMachine.hpp\"",
|
||||
"\"ssm/ISyntaxStateMachine_Xfer.hpp\"" ],
|
||||
local_types: [ ],
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "DParenSsm.hpp"
|
||||
#include "ssm/ISyntaxStateMachine_DParenSsm.hpp"
|
||||
#include "ssm/IPrintable_DParenSsm.hpp"
|
||||
#include "paren/DParenSsm.hpp"
|
||||
#include "paren/ISyntaxStateMachine_DParenSsm.hpp"
|
||||
#include "paren/IPrintable_DParenSsm.hpp"
|
||||
|
||||
/* end ParenSsm.hpp */
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* [idl/IPrintable_DParenSsm.json5]
|
||||
**/
|
||||
|
||||
#include "ssm/IPrintable_DParenSsm.hpp"
|
||||
#include "paren/IPrintable_DParenSsm.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* [idl/ISyntaxStateMachine_DParenSsm.json5]
|
||||
**/
|
||||
|
||||
#include "ssm/ISyntaxStateMachine_DParenSsm.hpp"
|
||||
#include "paren/ISyntaxStateMachine_DParenSsm.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
**/
|
||||
|
||||
#include "Metatype.hpp"
|
||||
#include <cassert>
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
|
@ -36,6 +37,9 @@ namespace xo {
|
|||
case code::t_callable: return "callable";
|
||||
case code::t_any: return "any";
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return "?metatype";
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
@ -86,6 +90,9 @@ namespace xo {
|
|||
case code::t_any:
|
||||
return true;
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue