| Hi Victor and Joachim,
I took a quick look and I got StrayNumToFt.csd to work now by adding
the if/elseif/else/until checks to the semantic checker. I then had a
bug where there was no = opcode for strings. In the previous code,
this was checked at compile-time and the opcode for = was replaced
with strcpy. I've added an OENTRY now that uses = and is essentially
an alias for strcpy (same i-time func called) and it passed the new
type checker.
I added StrayNumToFt.csd to tests/commandline/contrib so that we can
eventually integrate it into the test suite.
Thanks!
steven
On Sat, Mar 9, 2013 at 11:45 PM, Victor Lazzarini
wrote:
> The UDO issues are now fixed in GIT, but the new syntax checks are failing with variables defined inside if ... then blocks (defining them outside with 'init' fixes it).
> Steven is still working on the syntax checks, so these will be fixed too.
>
> On 8 Mar 2013, at 20:46, joachim heintz wrote:
>
>> i have tested my strays udo examples and get errors for two csds which run fine in csound5. the files are attached.
>> best -
>> joachim
>>
>>
>> StrayNumToFt.csd:
>> PERF ERROR in instr 1: StrayNumToFt: not initialised
>> ift ilen StrayNumToFt Stray 0 -1 -1 0
>> note aborted
>> PERF ERROR in instr 1: TbDmpSmpS: not initialised
>> TbDmpSmpS ift 5 "table content = " 0 0
>> note aborted
>>
>>
>> StraySetNum.csd:
>> SECTION 1:
>> '1 2 a b 3'
>> PERF ERROR in instr 1: FracLen: not initialised
>> Sres StraySetNum Stray p5 -1 -1 -1 -1 0
>> note aborted
>> Csound tidy up: Segmentation fault
>> ------------------------------------------------------------------------------
>> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
>> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
>> endpoint security space. For insight on selecting the right partner to
>> tackle endpoint security challenges, access the full report.
>> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |