Mercurial > hg > freeDiameter
diff extensions/rt_default/rtd_conf.y @ 168:6db078b955e3
Completed rt_default extension
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 02 Feb 2010 10:15:05 +0900 |
parents | 967e579beb64 |
children | f8507f57a3c0 |
line wrap: on
line diff
--- a/extensions/rt_default/rtd_conf.y Fri Jan 29 18:57:40 2010 +0900 +++ b/extensions/rt_default/rtd_conf.y Tue Feb 02 10:15:05 2010 +0900 @@ -151,7 +151,6 @@ %token UN %token SI -%token IDENTITY %token REALM @@ -179,6 +178,8 @@ yyerror (&yylloc, conffile, "An error occurred while adding a rule, aborting..."); YYERROR; } ); + + rules_added++; } ; @@ -241,10 +242,10 @@ ; /* Details of the TARGET type */ -TARGET: IDENTITY '=' TSTRING +TARGET: TSTRING { - $$.str = $3.str; - $$.regex =$3.regex; + $$.str = $1.str; + $$.regex =$1.regex; $$.type = RTD_TAR_ID; } | REALM '=' TSTRING