From: Andrew Tridgell Date: Mon, 1 Apr 2002 03:20:51 +0000 (+0200) Subject: more unifier docs X-Git-Tag: v1.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=985ef02f058049b5e0e0f286ea2f65a8a634f9fe;p=thirdparty%2Fccache.git more unifier docs --- diff --git a/unify.c b/unify.c index 8cd465e7a..1c3143ce6 100644 --- a/unify.c +++ b/unify.c @@ -18,8 +18,16 @@ /* C/C++ unifier - the idea is that changes that don't affect the resulting C code should not change - the hash + the idea is that changes that don't affect the resulting C code + should not change the hash. This is achieved by folding white-space + and other non-semantic fluff in the input into a single unified format. + + This unifier was design to match the output of the unifier in + compilercache, which is flex based. The major difference is that + this unifier is much faster (about 2x) and more forgiving of + syntactic errors. Continuing on syntactic errors is important to + cope with C/C++ extensions in the local compiler (for example, + inline assembly systems). */ #include "ccache.h"