issues?
Date | 2016-06-19 07:53 |
From | "Joe ." |
Subject | issues? |
Hey guys. 2 things. One is, I've been writing in this new way recently and have noticed that something like this creates an error:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
instr 1 outs oscil:a(1, linseg:a(220, p3, 440)) endin error: syntax error, unexpected LABEL_TOKEN , while if I add a \ before linseg:a it doesn't. This seems weird to me since if I remember correctly \ only functions to connect separate lines. Also /***/ crashes Csound, an odd number of stars crashes Csound (at least on my cpu), while an even number doesn't. Noticed this when I was doing /*****/ to clarify sections of music. Just two things that seem weird to me. Thanks. Joe |
Date | 2016-06-19 08:58 |
From | Victor Lazzarini |
Subject | Re: issues? |
In this case, the semantics of a label and the function are being confused. A label is defined by a word followed by a colon in a new line. The line jump in your code is doing exactly that. I guess it is a parser bug, but I am not sure how easy it is to fix. Once we became more flexible with the syntax, these types of things were liable to appear. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland
|
Date | 2016-06-19 12:14 |
From | Victor Lazzarini |
Subject | Re: issues? |
Fixed the label issue in GIT ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 19 Jun 2016, at 08:58, Victor Lazzarini |