summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 2ca03463..7f73b895 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -336,8 +336,8 @@ type:
one_decl:
type SYM {
- struct f_val * val = cfg_alloc(sizeof(struct f_val));
- val->type = $1;
+ struct f_val * val = cfg_alloc(sizeof(struct f_val));
+ val->type = T_VOID;
$2 = cf_define_symbol($2, SYM_VARIABLE | $1, val);
DBG( "New variable %s type %x\n", $2->name, $1 );
$2->aux2 = NULL;