summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-03 21:25:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-03 21:25:29 -0700
commit61999187556690dbb837f4049d14d51760978a97 (patch)
treebae676562d1c30ba090956931ec9021797655534 /Makefile
parent4e6e6b185c73075309a676fa8cc8535e9b28cde1 (diff)
Use utf-8 aware re2c.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1dc9ae..f11431c 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,8 @@ $(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
false; \
;; \
esac
- re2c --case-insensitive -b -i --no-generation-date -o $@ $<
+ re2c --case-insensitive -b -i --no-generation-date -8 \
+ --encoding-policy substitute -o $@ $<
# We include entities.inc in the repository, so normally this
# doesn't need to be regenerated: