]> thyrsus.com Git - comparator.git/commitdiff
Move some flags.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 19 Sep 2003 12:40:55 +0000 (12:40 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 19 Sep 2003 12:40:55 +0000 (12:40 +0000)
shred.h

diff --git a/shred.h b/shred.h
index 585e6bcbfa199c82485f990d172ff1040c3deddf..df92cccf28021813602af2b244cfe4afa4c239a6 100644 (file)
--- a/shred.h
+++ b/shred.h
@@ -32,8 +32,6 @@ struct hash_t
     hashval_t          hash;
     flag_t             flags;
 #define INSIGNIFICANT  0x40    /* pure syntax in  a programming language */
-#define C_CODE         0x01    /* identified as C code */
-#define SHELL_CODE     0x02    /* identified as shell code */
 #define CATEGORIZED    0x03    /* we can significance-test this */
 #define INTERNAL_FLAG  0x80    /* internal use only */
 };
@@ -72,6 +70,10 @@ struct analyzer_t    /* structure describing a feature analyzer */
     void (*dump)(char *);
 };
 
+/* mode bits for controlling the analyzer */
+#define C_CODE         0x01    /* identified as C code */
+#define SHELL_CODE     0x02    /* identified as shell code */
+
 /* control bits, meant to be set at startup */
 extern int verbose, debug, nofilter;
 extern int shredsize, minsize;