Csound Csound-dev Csound-tekno Search About

[Cs-dev] Bug with undefined macro in /* */ styled comment

Date2008-02-04 16:36
FromJacob Joaquin
Subject[Cs-dev] Bug with undefined macro in /* */ styled comment
Hello.

I think I discovered a bug.  If Csound finds an undefined macro within a /*
*/ styled comment, it gives off this warning:


score error:  Undefined macro: 'foo'
    on line 38 position 7


This is the case for both and orc and sco files.  Csound does not throw out
an error for comments proceeding the ";".  For example:

; $foo        WORKS when $foo is not defined
/* $foo */        BREAKS when $foo is not defined

Best,
Jake
-- 
View this message in context: http://www.nabble.com/Bug-with-undefined-macro-in--*-*--styled-comment-tp15269052p15269052.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-05-06 10:37
Fromjpff
SubjectRe: [Cs-dev] Bug with undefined macro in /* */ styled comment
I have fixed the problem with macros in /* */ styled comments in the
score.  Looks a little harder in the orchestra but I have it partially
coded.

==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net