This commit is contained in:
yhirose 2022-07-31 07:16:45 -04:00
parent 6fe01cf310
commit dc18c3d017

View File

@ -1576,7 +1576,7 @@ class Cut : public Ope, public std::enable_shared_from_this<Cut> {
public: public:
size_t parse_core(const char * /*s*/, size_t /*n*/, SemanticValues & /*vs*/, size_t parse_core(const char * /*s*/, size_t /*n*/, SemanticValues & /*vs*/,
Context &c, std::any & /*dt*/) const override { Context &c, std::any & /*dt*/) const override {
c.cut_stack.back() = true; if (!c.cut_stack.empty()) { c.cut_stack.back() = true; }
return 0; return 0;
} }