Re: [Csnd-dev] parser/commenting question/request
Iain Duncan <[email protected]>
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAN9NcLzkGULTjU549zJ8oV8JVL71y0NV2y7ayVamVCfOyZSy6Q@mail.gmail.com> |
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 <[email protected]> wrote: > 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 <[email protected]> > wrote: > > > > 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 >
udo_comment_bug.csd
(application/octet-stream, 1.2 KB) - not displayed