Try a stab-in-the-dark to see if we can fix the OSX compile issue.

svn path=/trunk/; revision=37419
This commit is contained in:
Bill Meier 2011-05-27 01:33:24 +00:00
parent ebc0c3e33f
commit afbbb55212
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@
%}
/* Note: FreeRadius allows VENDOR, ATTRIBUTE and VALUE names to contain any non-blank character.
* Using [^[:blank:]] below for those names fails for some reason so for now the patterns for each
* Using ... below for those names fails for some reason so for now the patterns for each
* include those characters found in the the corresponding names in the FreeRadius dictionaries.
*/
@ -194,7 +194,7 @@
BEGIN WS_OUT;
}
<ATTR>[0-9a-z_/\.-]+ { attr_name = g_strdup(yytext); encrypted = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
<ATTR>[0-9a-z_/.-]+ { attr_name = g_strdup(yytext); encrypted = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; }
<ATTR_W_NAME>[0-9]+ { attr_id = g_strdup(yytext); BEGIN ATTR_W_ID;}
<ATTR_W_NAME>0x[0-9a-f]+ { attr_id = g_strdup_printf("%u",(int)strtoul(yytext,NULL,16)); BEGIN ATTR_W_ID;}
<ATTR_W_ID>integer { attr_type = radius_integer; BEGIN ATTR_W_TYPE; }