diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:20:25 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:20:25 +0100 |
commit | 96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 (patch) | |
tree | 8c32464bd3a2fc0f1178c2e357617a9c4e256114 /src/config.y | |
parent | 8255dd8965cde43311d6e89ca9e9644fe29d4bca (diff) | |
download | fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.tar fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.zip |
types: replace static consts with defines
Diffstat (limited to 'src/config.y')
-rw-r--r-- | src/config.y | 4 |
1 files changed, 2 insertions, 2 deletions
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: ':' |