summaryrefslogtreecommitdiff
path: root/filter/config.Y
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2009-05-29 23:08:28 +0200
committerOndrej Filip <feela@majklik.network.cz>2009-05-29 23:08:28 +0200
commit9be1086d2970633fb5af2a1faaae16d5a1cf48ea (patch)
tree54777cff07416d54fc44c3139920feeed5ef8e12 /filter/config.Y
parent43de796b8a10f561d8b3ef64a86e5ce70de01eb5 (diff)
New type variable 'V' defined in filters. This type is checked
only for name, never for value in function filter_same()
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 6d9b064d..fe79496f 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -397,8 +397,9 @@ term:
case SYM_VARIABLE | T_PATH:
case SYM_VARIABLE | T_PATH_MASK:
case SYM_VARIABLE | T_CLIST:
- $$->code = 'C';
+ $$->code = 'V';
$$->a1.p = $1->def;
+ $$->a2.p = $1->name;
break;
default:
cf_error("%s: variable expected.", $1->name );