head 1.2; access; symbols pkgsrc-2021Q2:1.1.0.2 pkgsrc-2021Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2021.08.10.19.34.17; author wiz; state dead; branches; next 1.1; commitid eXHK3wXO6CGBCs4D; 1.1 date 2021.04.01.16.46.39; author wiz; state Exp; branches; next ; commitid 03rrHJW1OR79UBNC; desc @@ 1.2 log @re2c: update to 2.2. 2.2 (2021-08-01) ~~~~~~~~~~~~~~~~ - Added named blocks and block lists in directives. - Added local blocks ``/*!local:re2c ... */``. - Added in-block ``!include`` directive. - Added in-block ``!use`` directive. - Allowed reusable blocks without ``-r --reusable`` option. - Allowed customizing the generated code with configurations for directives ``max:re2c``, ``maxnmatch:re2c``, ``stags:re2c``, ``mtags:re2c`` and ``types:re2c`` (see directive descriptions for details). - Forbid arbitrary text at the end of ``max:re2c`` directive. This may break backwards compatibility, although it is unlikely that this was used by anyone. The change was necessary in order to allow customization of the generated code with configurations. - Deprecated configurations ``flags:i``, ``flags:no-debug-info`` in favour of the global options ``-i``, ``--no-debug-info``. - Reimplemented re2c test runner in Python (thanks to `Serghei Iakovlev `_). Improved integration with GitHub Actions. - Changes in the experimental libre2c library: added new algorithms that construct t-string or extract submatch on all repetitions; added TDFA benchmark written in Java by Angelo Borsotti. - Updated documentation. @ text @$NetBSD: patch-configure,v 1.1 2021/04/01 16:46:39 wiz Exp $ Fix unportable test(1) operator. --- configure.orig 2021-03-27 18:25:31.000000000 +0000 +++ configure @@@@ -5336,7 +5336,7 @@@@ if test "${enable_benchmarks+set}" = set enableval=$enable_benchmarks; fi - if test "x$enable_benchmarks" == "xyes"; then + if test "x$enable_benchmarks" = "xyes"; then WITH_BENCHMARKS_TRUE= WITH_BENCHMARKS_FALSE='#' else @@@@ -5383,7 +5383,7 @@@@ if test "${enable_benchmarks_regenerate+ enableval=$enable_benchmarks_regenerate; fi - if test "x$enable_benchmarks_regenerate" == "xyes"; then + if test "x$enable_benchmarks_regenerate" = "xyes"; then REGEN_BENCHMARKS_TRUE= REGEN_BENCHMARKS_FALSE='#' else @ 1.1 log @re2c: update to 2.1.1. 2.1.1 (2021-03-27) ~~~~~~~~~~~~~~~~~~ - Added missing CMakeLists.txt to release tarballs (`#346 `_). 2.1 (2021-03-26) ~~~~~~~~~~~~~~~~ - Added GitHub Actions CI for Linux, macOS and Windows and fixed numerous build issues on those platforms (thanks to `Serghei Iakovlev `_). - Added benchmarks for submatch extraction in lexer generators (ragel vs. kleenex vs. re2c with TDFA(0), TDFA(1) or sta-DFA algorithms). + New Autotools (configure) options: ``--enable-benchmarks``, ``--enable-benchmarks-regenerate`` + New CMake options: ``-DRE2C_BUILD_BENCHMARKS``, ``-DRE2C_REGEN_BENCHMARKS`` + New `json2pgfplot.py `_ script that converts benchmark results in JSON to a PDF with bar charts - Added option ``--depfile `` to generate build dependency files (allows to track ``/*!include:re2c*/`` dependencies in the build system). - Added option ``--fixed-tags `` and improved fixed-tag optimization to work with nested tags. - Added lzip to the distribution tarballs. - Added registerless-TDFA algorithm in the experimental libre2c library. - Explicitly disallowed invalid configuration when ``-f``, ``--storable-state`` option is used, but ``YYFILL`` is disabled (`#306 `_). - Fixed bug in UTF-8 decode for 4-bytes rune (`#307 `_, thanks to `Satoshi Yasushima `_). - Fixed bugs in rare cases of the end-of-input rule ``$`` usage (`277f0295 `_, `68611a57 `_ and `a9d582f9 `_). - Optimized ``--skeleton`` generation time. - Renamed internal option ``--dfa`` to ``--nested-negative-tags``. - Updated documentation for end of input handling and submatch extraction. @ text @d1 1 a1 1 $NetBSD$ @