diff extensions/acl_wl/aw_conf.y @ 1057:1c6c8fa622ff

Use yylval to make gcc happy
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 29 Apr 2013 12:43:41 +0800
parents 2091bf698fb1
children 0dff6a604b0a
line wrap: on
line diff
--- a/extensions/acl_wl/aw_conf.y	Mon Apr 29 12:30:07 2013 +0800
+++ b/extensions/acl_wl/aw_conf.y	Mon Apr 29 12:43:41 2013 +0800
@@ -110,11 +110,16 @@
 
 %}
 
+/* Values returned by lex for token */
+%union {
+	char 		 *string;
+}
+
 /* In case of error in the lexical analysis */
 %token 		LEX_ERROR
 
 /* Key words */
-%token 		FQDN
+%token <string>	FQDN
 
 
 /* -------------------------------------- */
@@ -125,6 +130,7 @@
 			| conffile FQDN
 			{
 				fqdn_added++;
+				TRACE_DEBUG(FULL, "Added FQDN: %s", $2);
 			}
 			| conffile LEX_ERROR
 			{
"Welcome to our mercurial repository"