Csound Csound-dev Csound-tekno Search About

[Cs-dev] line comments within multi-line comments

Date2005-07-19 11:22
FromSteven Yi
Subject[Cs-dev] line comments within multi-line comments
AttachmentsNone  

Date2007-11-29 06:34
FromAnthony Kozar
SubjectRe: [Cs-dev] line comments within multi-line comments
I was just looking through old emails, and I think this bug still exists.
(Just in case anyone wants to look at it).

Anthony

Steven Yi wrote on 7/19/05 6:22 AM:

> Hi all,
> 
> There seems to be a bug where if single-line comments are embedded
> within multiline comments in such a way the the single-line comment is
> on the same line as the ending */, the file won't parse. For example:
> 
> /* 
> a1    oscil    440, 10, 1 ; oscil 1
> a2    oscil    440, 10, 1 ; oscil 2
> a3    oscil    440, 10, 1 ; oscil 3
> a4    oscil    440, 10, 1 ; oscil 4 */
> 
> Running a CSD with this yields:
> 
> error:  Unmatched comment, line 13:
> /* 
> ^
> 
> Because the closing comment seems to have been commented out by the ";".


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net