b8aac3c9bc
Add secondary_cursors field to Editor with insert_char_multi, delete_back_multi, delete_forward_multi methods. Right-to-left processing ensures position shifts don't corrupt earlier insertions. 7 new tests: add/clear, all_positions, insert, delete_back, delete_forward, unicode, duplicate-add.
29 lines
894 B
TOML
29 lines
894 B
TOML
[source]
|
|
tar = "https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz"
|
|
blake3 = "9dd90be8df4d0474b941e2ca14ac76d11b7ccb46edb26344b60d866178bbcc98"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export ac_cv_func___fseterr=yes
|
|
export ac_cv_type_sigset_t=yes
|
|
export ac_cv_type_posix_spawnattr_t=yes
|
|
export ac_cv_type_posix_spawn_file_actions_t=yes
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--disable-nls
|
|
)
|
|
sleep 1
|
|
touch "${COOKBOOK_SOURCE}/aclocal.m4" \
|
|
"${COOKBOOK_SOURCE}/configure" \
|
|
"${COOKBOOK_SOURCE}/Makefile.in" \
|
|
"${COOKBOOK_SOURCE}/config.h.in" 2>/dev/null || true
|
|
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}" YACC=/usr/bin/bison
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" YACC=/usr/bin/bison
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}" YACC=/usr/bin/bison
|
|
"""
|
|
|
|
[package]
|
|
description = "GNU parser generator (yacc-compatible)"
|
|
dependencies = ["m4"]
|