From 445b470d25c320c025d960aafdaaa87fe4558228 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 13 Sep 2003 00:12:10 +0000 Subject: [PATCH] More about normalization. --- comparator.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/comparator.xml b/comparator.xml index 6538990..685bbc7 100644 --- a/comparator.xml +++ b/comparator.xml @@ -54,6 +54,13 @@ cliques of lines with duplicate hashes, with overlapping ranges merged. The output format can (not by coincidence) be stepped through with the next-error function of Emacs. +A consequence of the method is that +comparator will find common code segments +wherever they are. It is insenstive to rearrangements of the source +trees. With appropriate options, code can be normalized at input to +ignore differences in whitespace and (in C code) brace placenent. An +option to strip comments also exists + The program is capable of generating a hash list for a source code tree which can be used in place of the tree itself. Thus, it is possible to do comparisons with source trees without having access to -- 2.43.0