[Csnd-dev] parser/commenting question/request
Date | 2024-03-29 18:26 |
From | Iain Duncan |
Subject | [Csnd-dev] parser/commenting question/request |
Hello devs, I noticed yesterday that interleaving comments in a function-syntax opcode call does not work in Csound 6. I was wondering whether this might be possible in the new parser for 7? (perhaps is already?)
iain Example (from a recursive UDO) xout avco + vco2( 1 / ivoices, ; amp ; this comment kills it, being the only thing on the line kcps * (1 + (inum * gi_spread_cps)), 2, ; imode, 2 = pulse kpw + (inum * gi_spread_pw), ; pw + pw spread 0) Error message: error: syntax error, unexpected NEWLINE (token " ") from file superpad.csd (1), line 26: >>> <<< Parsing failed due to invalid input! Stopping on parser failure cannot compile orchestra |
Date | 2024-03-29 18:30 |
From | Steven Yi |
Subject | Re: [Csnd-dev] parser/commenting question/request |
Could you provide a minimal CSD that has the problem? Could try it out here with CS7 and if it's not working it'd be good to have an issue on the tracker. We could also add the example to the test suite. On Fri, Mar 29, 2024 at 2:25 PM Iain Duncan |
Date | 2024-03-29 19:46 |
From | Iain Duncan |
Subject | Re: [Csnd-dev] parser/commenting question/request |
Attachments | udo_comment_bug.csd |
Hi Steven, here's the file that was busting, and it's still pretty small. HTH! On Fri, Mar 29, 2024 at 11:30 AM Steven Yi <stevenyi@gmail.com> wrote: Could you provide a minimal CSD that has the problem? Could try it out |