diff --git a/autotools/convert-constants b/autotools/convert-constants index c9695f4fd332656c5704696eca0f38a18405696a..e5296ea78ee80f6dc66213b7a5495640a906acfe 100755 --- a/autotools/convert-constants +++ b/autotools/convert-constants @@ -1,7 +1,7 @@ #!/usr/bin/python # -# Copyright (C) 2011, 2012 Google Inc. +# Copyright (C) 2011, 2012, 2013 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -87,6 +87,8 @@ def HaskellTypeVal(value): """ if isinstance(value, basestring): return ("String", "\"%s\"" % StringValueRules(value)) + elif isinstance(value, bool): + return ("Bool", "%s" % value) elif isinstance(value, int): return ("Int", "%d" % value) elif isinstance(value, long):