Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3087741 ] Macro definition in CsInstruments not correctly handled

Date2010-10-15 01:00
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3087741 ] Macro definition in CsInstruments not correctly handled
Bugs item #3087741, was opened at 2010-10-15 02:00
Message generated for change (Tracker Item Submitted) made by hibou-57
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3087741&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hibou57 (hibou-57)
Assigned to: Nobody/Anonymous (nobody)
Summary: Macro definition in CsInstruments not correctly handled

Initial Comment:
If a macro is defined in the CsInstruments section, if it does not start at the first column, it is not properly handled.
Example :
   #define MyMacro(MyArg) #$MyArg#
CSound will complain “undefined macro MyArg” it the “#define” is not located at the first column.
This bug does not occurs in the CsScore section.

The attached file contains an example where the bug express. If you open it in WinXound and play it, you will get an error. Then, go at line 25, remove the indent, it will then work.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3087741&group_id=81968

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://