Jump to content
jazzyguy

unexpected PARSEOP error

5 posts in this topic

Recommended Posts

Hey guys, quick question. I have a DSDT I am trying to edit. I am having trouble compiling it.

 

This is part of it.

 

 Method (_DSM, 4, NotSerialized)
			{
				If (LEqual (BRID, One))
				{
					If (LEqual (Arg0, Buffer (0x10)
							{
								/* 0000 */	0xF8, 0xD8, 0x86, 0xA4, 0xDA, 0x0B, 0x1B, 0x47, 
								/* 0008 */	0xA7, 0x2B, 0x60, 0x42, 0xA6, 0xB5, 0xBE, 0xE0
							}))
					{
						P8XH (Zero, 0xF6)
						Return (NVOP)
						Arg0
						Arg1
						Arg2
						Arg3
					}
				}

 

How do I stop this: 8382 Error syntax error, unexpected PARSEOP_ARG0 which is the line with Arg0

Share this post


Link to post
Share on other sites
Advertisement

What about removing those Arg... lines as unreachable because the code returns earlier?

 

Is that really the correct way to make it compile?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×