- Commit
- d655b825e3db9aa02adb8d5df9d995a6fd6a9e92
- Parent
- 131b79f9fe0ef73af74f93d17d3c71abd9c29621
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Require re2c >= 1.14.2.
Version <= 1.13.7 don't allow the `-8` option.
Closes #102.
My personal build of CMark ✏️
Require re2c >= 1.14.2.
Version <= 1.13.7 don't allow the `-8` option.
Closes #102.
2 files changed, 3 insertions, 4 deletions
diff --git 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 @@ -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.