OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-storage commits / 08815e3

Ooops -- off by one
08815e3f651358516037d0de39b620a18f7387e3
by Linas Vepštas <linasvepstas@gmail.com> · 2026-01-21T02:14:57.000Z

Changed files (1) +1 -2

opencog/persist/sexpr/AtomSexpr.cc +1 -2
……@@ -282,7 +282,7 @@ Handle Sexpr::decode_atom(const std::string& s,
282282 l1 = l;
283283 r1 = r;
284284 const std::string name = get_node_name(s, l1, r1, atype, line_cnt);
285 l = r1 + 1;
285 l = r1;
286286
287287 // A list of zero or more Atoms can follow the AtomSpace name.
288288 // These are the parents. They must be passed to the ctor.
……@@ -293,7 +293,6 @@ Handle Sexpr::decode_atom(const std::string& s,
293293 r1 = r;
294294 get_next_expr(s, l1, r1, line_cnt);
295295 if (l1 == r1) break;
296
297296 outgoing.push_back(decode_atom(s, l1, r1, line_cnt, ascache));
298297
299298 l = r1 + 1;