[RFC]: flex/lex update

Garrett Cooper yanefbsd at gmail.com
Mon Jan 12 23:32:33 PST 2009


On Mon, Jan 12, 2009 at 11:06 PM, Stanislav Sedov <stas at freebsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 12 Jan 2009 21:01:28 +0100
> Roman Divacky <rdivacky at freebsd.org> mentioned:
>
>> hi
>>
>> I noticed there is an update to lex/flex. The version in our tree
>> is ancient and there seems to be some updates (http://flex.sourceforge.net/)
>>
>> Can someone comment on the state of lex in our tree? It's not considered
>> a contributed software (it resides in usr.bin) but it was taken from elsewhere.
>>
>> what is our position? is it preferable for me to work on updating it or
>> just fixing the one bug I ran into?
>>
>> thnx!
>>
>> roman
>
> Are there any benefits in updating? Does it worth the hassle? We have this
> version of flex in ports for those who needs extended features.
>
> If there're no critical echancements/fixes in the updated flex version I'd
> prefer to stay with what we have and just fix the bugs encountered locally.

    But our version of flex is almost 6 years old 0-0?
    (for anyone oblivious of its need -- including me a few minutes
ago) we apparently need it for the following sourcefiles:

[gcooper at orangebox /usr/home/gcooper/Desktop/flex-2.5.35]$ find
/usr/src/ -name '*.l'
/usr/src/bin/sh/arith_lex.l
/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l
/usr/src/contrib/amd/amd/conf_tok.l
/usr/src/contrib/amd/fsinfo/fsi_lex.l
/usr/src/contrib/bc/bc/scan.l
/usr/src/contrib/binutils/binutils/arlex.l
/usr/src/contrib/binutils/binutils/deflex.l
/usr/src/contrib/binutils/binutils/rclex.l
/usr/src/contrib/binutils/binutils/syslex.l
/usr/src/contrib/binutils/gas/itbl-lex.l
/usr/src/contrib/binutils/ld/ldlex.l
/usr/src/contrib/com_err/lex.l
/usr/src/contrib/csup/token.l
/usr/src/contrib/csup/rcstokenizer.l
/usr/src/contrib/gcc/gengtype-lex.l
/usr/src/contrib/gdb/gdb/ada-lex.l
/usr/src/contrib/ipfilter/iplang/iplang_l.l
/usr/src/contrib/libpcap/scanner.l
/usr/src/lib/libc/net/nslexer.l
/usr/src/lib/libipsec/policy_token.l
/usr/src/sbin/devd/token.l
/usr/src/sbin/setkey/token.l
/usr/src/sys/contrib/dev/acpica/compiler/aslcompiler.l
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l
/usr/src/usr.bin/ar/acplex.l
/usr/src/usr.bin/colldef/scan.l
/usr/src/usr.bin/lex/scan.l
/usr/src/usr.bin/mklocale/lex.l
/usr/src/usr.bin/xlint/lint1/scan.l
/usr/src/usr.sbin/apmd/apmdlex.l
/usr/src/usr.sbin/bluetooth/bthidd/lexer.l
/usr/src/usr.sbin/bluetooth/hcsecd/lexer.l
/usr/src/usr.sbin/config/lang.l
/usr/src/usr.sbin/kbdcontrol/lex.l
/usr/src/usr.sbin/ndiscvt/inf-token.l
/usr/src/usr.sbin/rrenumd/lexer.l
/usr/src/crypto/heimdal/lib/asn1/lex.l
/usr/src/crypto/heimdal/lib/com_err/lex.l
/usr/src/crypto/heimdal/lib/sl/lex.l
/usr/src/crypto/heimdal/lib/sl/slc-lex.l

Cheers,
-Garrett


More information about the freebsd-current mailing list