Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > CM Problem with SML Working Versions
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 6th October 01:58
matthias blume
External User
 
Posts: 1
Default CM Problem with SML Working Versions



Alexandru Berlea <berlea@in.tum.de> writes:

There are a number of changes in the way CM resolves filenames. The
correct name of the ML-Yacc library under the new CM is:

$/ml-yacc-lib.cm

Similarly, you will have to put in an explicit mention of the Basis
library as:

$/basis.cm

Within reason, you can make your .cm files work "both ways" by
encapsulating the differences using #if:

library
...
is

#if defined(NEW_CM)
$/basis.cm
$/ml-yacc-lib.cm
#else
ml-yacc-lib.cm
#endif

...


Hope this helps,
Matthias
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666