summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-17 17:20:42 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-17 17:20:42 +0000
commitf43bcdc063b486516187715bb0205e3c154497db (patch)
tree8157de32e728e85a663bd0e46ed06920c6488b38 /src/or/routerparse.c
parentfc5e686b197b350b0e5eab7e7f355a226125d834 (diff)
downloadtor-f43bcdc063b486516187715bb0205e3c154497db.tar.gz
tor-f43bcdc063b486516187715bb0205e3c154497db.zip
Use ctags and a python script to find identifiers that are never used anywhere, and remove the ones that we really want gone.
svn:r17651
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index d340c71f5b..1d11571db2 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -108,7 +108,6 @@ typedef enum {
C_DESCRIPTOR_COOKIE,
C_CLIENT_KEY,
- _UNRECOGNIZED,
_ERR,
_EOF,
_NIL
@@ -208,7 +207,7 @@ typedef struct token_rule_t {
/** An item that must appear no more than once */
#define T01(s,t,a,o) { s, t, a, o, 0, 1, 0, 0 }
/** An annotation that must appear no more than once */
-#define A01(s,t,a,o) { s, t, a, o, 0, 1, 0, 0 }
+#define A01(s,t,a,o) { s, t, a, o, 0, 1, 0, 1 }
/* Argument multiplicity: any number of arguments. */
#define ARGS 0,INT_MAX,0