rust-osdev / acpi

Rust library for parsing ACPI tables and interpreting AML
Apache License 2.0
203 stars 65 forks source link

AML: Fix `DefIfElse` parser returning `UnexpectedEndOfStream` when `If (...) {}` is not followed by anything #190

Closed alnyan closed 1 year ago

alnyan commented 1 year ago

The PR fixes issue #188

IsaacWoods commented 1 year ago

Interesting - now I see the problem, I'm kind of surprised we hadn't run into this sooner. Good catch though, and thanks for the PR!