Contribute
Register

Unexpected PARSEOP_IF, expecting $end and premature End-Of-File

Status
Not open for further replies.
Joined
Dec 24, 2019
Messages
18
Motherboard
Acer Aspire 5 A515-54G [OpenCore]
CPU
i5-10210U
Graphics
UHD Graphics 630
Mobile Phone
  1. Android
This is my first Hackintosh (not yet successful because of this problem).

I am patching the DSDT to be able for VoodooI2C to work. However, upon compiling, I am greeted with this error:

Code:
syntax error, unexpected PARSEOP_IF, expecting $end and premature End-Of-File

1577182220345.png


Upon removing it (by commenting it out or by deleting it), it causes a problem to the next in line:

Code:
syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

1577182792333.png


Attached here is the DSDT.dsl. Let me know if you need additional files.
 

Attachments

  • DSDT.dsl
    680.4 KB · Views: 93
Thanks!

I actually also fixed this error by doing some trial and error and by using my knowledge from other programming language. It turns out that the cause of the error is that one } (ending curly brace) that is randomly put there when I patched something, as I am not getting any error before patching.
But, anyway, I still thank you for your effort in fixing my DSDT.
 
Status
Not open for further replies.
Back
Top