Operator Precedence and Patches.

ralph at inputplus.co.uk ralph at inputplus.co.uk
Tue Mar 5 13:22:22 GMT 2002


Hi,

Carl Hetherington's patched our local copy of defmod thus.

     /* synchronisation error */
    -x_LOCAL_ERROR( Error_Sync, 1 + 1U<<30, "Try/Catch Synchronisation Error" 
    +x_LOCAL_ERROR( Error_Sync, 1 + (1U<<30), "Try/Catch Synchronisation Error
     
     /* exception stack overflow */
    -x_LOCAL_ERROR( Error_XStack, 2 + 1U<<30, "Too many nested x_TRY blocks" )
    +x_LOCAL_ERROR( Error_XStack, 2 + (1U<<30), "Too many nested x_TRY blocks"
     
Given `+' has higher precedence that `<<' that looks right from here.
Thought it worth passing back to OSLib.

Whilst I'm here, we (http://riscose.sf.net/) want to try and keep up to
date with OSLib changes.  I see the OSLib download page only gives the
last two or three versions.  Given their size this is understandable.
But is it possible that patches could be available too, and left there
for longer so we can see the changes made over five or ten versions?
Alternatively, is an OSLib CVS repository available where we can `cvs
rdiff' based on tags to generate the patches whenever we want?

Cheers,


Ralph.




More information about the oslib-user mailing list