aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/expand.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-04-05 15:27:32 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-08 21:37:30 +0100
commit095dc58e5cdaf04330c2f75f74aab415d18d562d (patch)
tree94c2b6d3170144b5fd1cae509aa19cd732e6df83 /expand.c
parentf29a889bdf5ef02be060832389fbedf2df6c62de (diff)
downloadsparse-dev-095dc58e5cdaf04330c2f75f74aab415d18d562d.tar.gz
define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE)
This is slightly shorter (and thus may avoid long lines) and facilitate the introduction of MOD_RETRICT in a later patch. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index 5f908c97..60986b3f 100644
--- a/expand.c
+++ b/expand.c
@@ -478,7 +478,7 @@ static int expand_comma(struct expression *expr)
return cost;
}
-#define MOD_IGN (MOD_VOLATILE | MOD_CONST)
+#define MOD_IGN (MOD_QUALIFIER)
static int compare_types(int op, struct symbol *left, struct symbol *right)
{