[Csnd-dev] Syntax error with :

Eduardo Moguillansky <[email protected]> Mon, 27 Oct 2025 23:36:29 +0100
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAHFFssLFpDvHvMio+vY9Udy0YQyW1VFGHys=2OKx17cMfU47ng@mail.gmail.com>
This line gives an error:

k2 = k0 > 0 ? k0: -1

error: syntax error, unexpected LABEL_TOKEN  (token "k0:") from file
xxx.csd (1)

It is ok if the ":" has a space before the variable

k2 = k0 > 0 ? k0 : -1

The code used to work some months ago, so this might be a recent change. I
guess it should not be difficult to disambiguate the parsing, since a label
should start a line.

Thanks,
Eduardo