Csound Csound-dev Csound-tekno Search About

[Cs-dev] equality in the new parser

Date2010-10-17 09:13
FromVictor Lazzarini
Subject[Cs-dev] equality in the new parser
It seems that a single '=' cannot be used as an equality operator in  
the new parser, whereas that seems to be possible in the old parser.
While I agree that keeping distinticion between == and = could be  
good, it may be necessary to be backwards compatible.

if kvar = 1 then

fails in the new parser, works in the old parser.

(An important addition is also to make Csound exit gracefully from a  
parser error, as it currently appears to be crashing on all orchestra  
parsing errors.)

Sorry not to be of more help here, but since I don't know this part of  
the code, I can only test it.

Victor


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-17 10:14
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] equality in the new parser
Done, and in CVS and tests

> It seems that a single '=' cannot be used as an equality operator in
> the new parser, whereas that seems to be possible in the old parser.
> While I agree that keeping distinticion between == and = could be
> good, it may be necessary to be backwards compatible.
>
> if kvar = 1 then
>
> fails in the new parser, works in the old parser.
>
> (An important addition is also to make Csound exit gracefully from a
> parser error, as it currently appears to be crashing on all orchestra
> parsing errors.)
>
> Sorry not to be of more help here, but since I don't know this part of
> the code, I can only test it.
>
> Victor
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net