Csound Csound-dev Csound-tekno Search About

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

Date2011-01-31 12:20
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 (Comment added) 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: Closed
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Hibou57 (hibou-57)
Assigned to: John ffitch (jpff)
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.


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

Comment By: Hibou57 (hibou-57)
Date: 2011-01-31 13:20

Message:
Which version of CSound5 will use the new parser ? 

(I am not aware of the development process for CSound, so I may have to
apologize for this question).



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

Comment By: John ffitch (jpff)
Date: 2010-10-17 14:48

Message:
This is as it was intended.  Changing the old parser is a dead-end.  In th
enew parser I believe that what you want already happend

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

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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://list