Contribute
Register

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

Joined
Dec 24, 2019
Messages
8
Motherboard
Acer Aspire E 15 E5-575G-33YP
CPU
i3-6006U
Graphics
HD 520
Mobile Phone
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

Joined
Dec 24, 2019
Messages
8
Motherboard
Acer Aspire E 15 E5-575G-33YP
CPU
i3-6006U
Graphics
HD 520
Mobile Phone
Android
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.
 
Top