]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
more unifier docs
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Apr 2002 03:20:51 +0000 (05:20 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 1 Apr 2002 03:20:51 +0000 (05:20 +0200)
unify.c

diff --git a/unify.c b/unify.c
index 8cd465e7af44703a41f799f9e3dbab47a006bc4c..1c3143ce6277941d6f12c2f3b94ded1a0e9d67b0 100644 (file)
--- a/unify.c
+++ b/unify.c
 /*
   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"