Changed to use `lit("")` for empty exp instead of `npd(dot())`

pull/139/head
yhirose 4 years ago
parent 9ad70096c8
commit 990dac98cf
  1. BIN
      docs/native.wasm
  2. 2
      peglib.h

Binary file not shown.

@ -2873,7 +2873,7 @@ private:
g["Sequence"] = [&](const SemanticValues &vs) {
if (vs.empty()) {
return npd(dot());
return lit("");
} else if (vs.size() == 1) {
return std::any_cast<std::shared_ptr<Ope>>(vs[0]);
} else {

Loading…
Cancel
Save