summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.