Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]typo or normal?
- To: tlug@example.com
- Subject: typo or normal?
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Sat, 23 Dec 2000 17:21:21 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <Pine.LNX.4.10.10012231457330.665-100000@example.com>
- References: <Pine.LNX.4.10.10012231457330.665-100000@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <e9e_0C.A.6cB.bFGR6@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> "Tony" == Tony Laszlo <laszlo@example.com> writes: Tony> Not being a programmer, I can only suspect that the line Tony> marked with ">>>>>" has an error in it, namely the ";" being Tony> after the "/* FIXME: 1 */" rather than before it. The Tony> compiler complained about a "*/" mark being off; could this Tony> be it? Thanks. Comments in C are simply removed (or maybe treated as whitespace, it doesn't matter here). I see nothing wrong with this code (as long as the ">>>>" stuff is _not_ in the file). More typically the complaint is about something like /* i = 1; /* useful comment */ There's nothing illegal about this (the programmer is commenting out the assignment). You could do /* i = 1; */ /* useful comment */ to shut up the compiler. But /* i = 1; /* useful comment */ */ is illegal; C comments do not nest. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules."
- Follow-Ups:
- Re: typo or normal?
- From: Tony Laszlo <laszlo@example.com>
- References:
- typo or normal?
- From: Tony Laszlo <laszlo@example.com>
Home | Main Index | Thread Index
- Prev by Date: typo or normal?
- Next by Date: Re: locale
- Prev by thread: typo or normal?
- Next by thread: Re: typo or normal?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links