Reimplementation of Pijul in C, for education, fun and absolutely no profit

change: add vertexeq, fix deleted lines duplication

When looking through all the edges for contents that has been deleted, we may encounter the same vertex referenced by edge->to. This can result in some deleted text being printed multiple times, if we don't take care to deduplicate it.

This change introduces vertexeq() that compares vertices by hash, start and end positions. This is used to keep track of the last vertex we encountered and compare it to the current one we're inspecting.

The new "check2" target in Makefile prints a change that has multiple edits and replacements, and one file addition.

Created by  laumann  on July 13, 2023
EHVLRMEF6YK5FRIV5V7V6P5RHJPCYKMSW5OVKDXLUEWHEM624FBAC
Change contents