From 070a4735e626c9a92edf64139c9acd022cd915ea Mon Sep 17 00:00:00 2001
From: "Alexander V. Chernikov" <melifaro@edge.ipfw.ru>
Date: Sun, 8 Feb 2015 17:39:24 +0300
Subject: [PATCH 3/6] Move SYM_MAX_LEN definition to conf.h

---
 conf/cf-lex.l | 1 -
 conf/conf.h   | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 35b590b..57e0bfa 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -61,7 +61,6 @@ static struct keyword *kw_hash[KW_HASH_SIZE];
 static int kw_hash_inited;
 
 #define SYM_HASH_SIZE 128
-#define SYM_MAX_LEN 32
 
 struct sym_scope {
   struct sym_scope *next;		/* Next on scope stack */
diff --git a/conf/conf.h b/conf/conf.h
index 799873d..3e641ce 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -108,6 +108,8 @@ struct symbol {
   char name[1];
 };
 
+#define SYM_MAX_LEN 32
+
 /* Remember to update cf_symbol_class_name() */
 #define SYM_VOID 0
 #define SYM_PROTO 1
-- 
2.1.2

