Re: Parse Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the reply,

To be more specific, I get this error when I use the following statement in a function.

__asm { int 3 };

The error doesn't show up when the above statement is commented. What may be the cause and fix for this?

--Kris



From: Jan Hudec <bulb@ucw.cz>
To: S kris <kris_bs@hotmail.com>
CC: kernelnewbies@nl.linux.org
Subject: Re: Parse Error
Date: Tue, 13 May 2003 10:15:35 +0200

On Mon, May 12, 2003 at 07:59:55PM +0530, S kris wrote:
> When do we get the "parse error before '{' token" compilation error. How to
> fix this bug?


When there is a parse error detected when '{' is to be read ;-)
The parse error can be anything syntax error. Spurious ones usualy
happen to be:
- Missing semicolon at end of previous declaration (or end of previous
  anything) - note, that the previous anything may be in included file
  or in a macro.
- What's supposed to be a type is not declared as such.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


_________________________________________________________________
Dreaming of a holiday? Make it happen. http://server1.msn.co.in/sp03/switzerlandtourism/index.asp In Switzerland!


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux