4 Commits
Author SHA1 Message Date
Bruno Haible 0023b19311 - Comment style.
- Change 'heuristic' from 'int' to 'bool'.
- Remove the 'const' from the context parameter. Needed because in the
  fstrcmp case, the NOTE_INSERT and NOTE_DELETE macros modify fields
  in the context, and an extra indirection would only cost performance:
    #define EXTRA_CONTEXT_FIELDS \
      /* The number of elements inserted or deleted. */ \
      int xvec_edit_count; \
      int yvec_edit_count;
    #define NOTE_DELETE(ctxt, xoff) ctxt->xvec_edit_count++
    #define NOTE_INSERT(ctxt, yoff) ctxt->yvec_edit_count++
- In 'diag', keep two blocks of code in sync (lines 191 and 224).
- Undefine the macro USE_HEURISTIC after use.
2007-08-18 10:53:41 +00:00
Paul Eggert a29749fa30 * MODULES.html.sh: Add diffseq.
* modules/diffseq: New file.
* lib/diffseq.h: New file, from GNU gettext with a few minor changes,
extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c.
2007-08-17 23:29:23 +00:00
Bruno Haible 12e0487381 Live on the diff-merge branch, not on HEAD. 2006-10-07 15:21:52 +00:00
Bruno Haible bc45ccc251 Difference of two sequences. 2006-10-07 15:20:20 +00:00