RE: Latest acpica

Moore, Robert
2005-09-08T19:35:48Z

And this seems like a fairly relevant quote as well:

>Flex no longer conforms to the POSIX lex behaviour

> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Matthew Wilcox
> Sent: Thursday, September 08, 2005 12:31 PM
> To: Moore, Robert
> Cc: Frank; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] Latest acpica
>
> On Thu, Sep 08, 2005 at 12:23:50PM -0700, Moore, Robert wrote:
> > Tell me what needs to change in order to make it compatible.
>
> I've never looked into it in any detail. From the Debian description:
>
> The behaviour of Flex has undergone a major change since version
> 2.5.4a; Flex scanners are now reenterant, you may have multiple
> scanners in the same program with differing sets of defaults, and
> they play nicer with modern C and C++ compilers. The Flip side is
> that Flex no longer conforms to the POSIX lex behaviour, and the
> scanners require conforming implementations when flex is used in ANSI
> C mode. The package flex-old provides the older behaviour.
>
> The GNU web page has some more detail:
>
>
http://www.gnu.org/software/flex/manual/html_chapter/flex_20.html#SEC20
>
> and there's a bug showing exactly this problem being encountered here:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191942
>
> The important bit is probably the quote:
>
> The relevant change in the new flex is that it's no longer valid
> to call unput() from the section after %%, only in actions or
> in the %{ ... %} section.
>
> HTH.
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf