summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-02-06 13:53:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-02-06 13:54:34 -0800
commitd655b825e3db9aa02adb8d5df9d995a6fd6a9e92 (patch)
tree005c56ba2baaed881df05a9e67d664714bde579b
parent131b79f9fe0ef73af74f93d17d3c71abd9c29621 (diff)
Require re2c >= 1.14.2.
Version <= 1.13.7 don't allow the `-8` option. Closes #102.
-rw-r--r--Makefile5
-rw-r--r--README.md2
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4128ea0..039089e 100644
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,8 @@ $(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt
# normally need to be generated.
$(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
@case "$$(re2c -v)" in \
- *\ 0.13.7*|*\ 0.14|*\ 0.14.1) \
- echo "re2c versions 0.13.7 through 0.14.1 are known to produce buggy code."; \
- echo "Try a version >= 0.14.2 or <= 0.13.6."; \
+ *\ 0.13.*|*\ 0.14|*\ 0.14.1) \
+ echo "re2c >= 0.14.2 is required"; \
false; \
;; \
esac
diff --git a/README.md b/README.md
index 5592f78..b326a72 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ Installing
Building the C program (`cmark`) and shared library (`libcmark`)
requires [cmake]. If you modify `scanners.re`, then you will also
-need [re2c], which is used to generate `scanners.c` from
+need [re2c] (>= 1.14.2), which is used to generate `scanners.c` from
`scanners.re`. We have included a pre-generated `scanners.c` in
the repository to reduce build dependencies.