summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-05 14:29:49 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-12-05 14:29:49 +0100
commit6068d6e9c73dddf9126c2c64c940ead2bc6e898f (patch)
tree14f573e63f226897b1cfdb8334e527f4dab72fb3
parent76d39d05996e4b38c7a854740e41a4f3d307fc1c (diff)
Makefile: use warnings with re2c.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed580ca..b81efc8 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ $(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
false; \
;; \
esac
- re2c --case-insensitive -b -i --no-generation-date -8 \
+ re2c -W -Werror --case-insensitive -b -i --no-generation-date -8 \
--encoding-policy substitute -o $@ $<
$(CLANG_FORMAT) $@