diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:39:26 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:39:26 -0700 |
commit | 78bb259f64e5c2deafe520af3349314ec4aa84e9 (patch) | |
tree | a82ead83dcf63d1970164669edd696da81d107c2 /expand.c | |
parent | cgcc: Sparse accepts -Wcast-to-as, not -Wcast-to-address-space (diff) | |
download | sparse-78bb259f64e5c2deafe520af3349314ec4aa84e9.tar.gz sparse-78bb259f64e5c2deafe520af3349314ec4aa84e9.tar.bz2 sparse-78bb259f64e5c2deafe520af3349314ec4aa84e9.zip |
Rename Wundefined_preprocessor to Wundef to match the command-line argument
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ static int expand_symbol_expression(struct expression *expr) struct symbol *sym = expr->symbol; if (sym == &zero_int) { - if (Wundefined_preprocessor) + if (Wundef) warning(expr->pos, "undefined preprocessor identifier '%s'", show_ident(expr->symbol_name)); expr->type = EXPR_VALUE; expr->value = 0; |