fix IO Macro/Namestring name clash in iasl compiler
Hi,
I got a DSDT that uses IO as an OperationRegion/Field definition. As this seems to be working with the M$ compiler, it does not with the Intel.
This fixes/workarounds the problem (Thanks to Michael Matz for helping me to find a fix):
DSDT to test: http://www.renninger.de/acpi/dsdt.dsl
compiler/aslcompiler.y 2005-09-06 15:40:37.000000000 +0200 renamed from compiler/aslcompiler.y.orig 2005-09-06 16:46:21.000000000 +0200 +1 -0
@@ -2951,6 +2951,7 @@ NameString : NameSeg {} | PARSEOP_NAMESTRING {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) AslCompilerlval.s);} + | PARSEOP_IO {$$ = TrCreateValuedLeafNode (PARSEOP_IO, (ACPI_NATIVE_INT) "IO");} ; NameSeg
Thomas
-------------------------------------------------------
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