Mercurial > hg > freeDiameter
diff extensions/acl_wl/aw_conf.l @ 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.l Mon Apr 29 12:30:07 2013 +0800 +++ b/extensions/acl_wl/aw_conf.l Mon Apr 29 12:43:41 2013 +0800 @@ -89,6 +89,7 @@ (\*|[[:alnum:]][[:alnum:]-]*)(\.[[:alnum:]][[:alnum:]-]*)+ { /* We matched a valid label, let's directly save it into the tree. The function will issue the appropriate warnings. */ CHECK_FCT_DO( aw_tree_add(yytext, curflag), return LEX_ERROR); + yylval->string = yytext; return FQDN; }