From 96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Feb 2016 15:20:25 +0100 Subject: types: replace static consts with defines --- src/config.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.y') diff --git a/src/config.y b/src/config.y index 8495e25..0d0a343 100644 --- a/src/config.y +++ b/src/config.y @@ -653,8 +653,8 @@ boolean: TOK_YES { $$ = true; } | TOK_NO { $$ = false; } ; -autobool: TOK_AUTO { $$ = fastd_tristate_undef; } - | boolean { $$ = $1 ? fastd_tristate_true : fastd_tristate_false; } +autobool: TOK_AUTO { $$ = FASTD_TRISTATE_UNDEF; } + | boolean { $$ = $1 ? FASTD_TRISTATE_TRUE : FASTD_TRISTATE_FALSE; } ; colon_or_port: ':' -- cgit v1.2.3