Jump to content

unexpected PARSEOP error


  • Please log in to reply
4 replies to this topic

#1
jazzyguy

jazzyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male
  • Location:USA
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

#2
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,525 posts
  • Gender:Male
  • Location:Tampa, Florida
post original and mod

#3
jazzyguy

jazzyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male
  • Location:USA

post original and mod


The original won't compile for the same reason.

Thanks for helping.[attachment=105264:untitled_folder.zip]

#4
jacekg

jacekg

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
What about removing those Arg... lines as unreachable because the code returns earlier?

#5
jazzyguy

jazzyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male
  • Location:USA

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


Is that really the correct way to make it compile?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy