X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ast.h;h=6c14da96bf744f2d40b7441565ae33a186c3bbd7;hb=22d24ddd2209686fa723a62ccc19b7c2eea2d172;hp=453fc4dd9af323a0c5d4c5d216f0dde550316ef3;hpb=2aed85a3a6cb49c725ee0100ffb4df00acdf2334;p=cparser diff --git a/ast.h b/ast.h index 453fc4d..6c14da9 100644 --- a/ast.h +++ b/ast.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -123,6 +123,7 @@ bool is_constant_expression(const expression_t *expression); */ bool is_address_constant(const expression_t *expression); -long fold_constant(const expression_t *expression); +long fold_constant_to_int(const expression_t *expression); +bool fold_constant_to_bool(const expression_t *expression); #endif