===================================================================
RCS file: /home/cvs/OpenXM/src/OpenMath/OM2OXM.java,v
retrieving revision 1.17
retrieving revision 1.19
diff -u -p -r1.17 -r1.19
--- OpenXM/src/OpenMath/OM2OXM.java 2000/01/21 12:17:49 1.17
+++ OpenXM/src/OpenMath/OM2OXM.java 2000/03/14 04:44:16 1.19
@@ -1,5 +1,5 @@
/**
- * $OpenXM: OpenXM/src/OpenMath/OM2OXM.java,v 1.16 2000/01/20 18:14:32 tam Exp $
+ * $OpenXM: OpenXM/src/OpenMath/OM2OXM.java,v 1.18 2000/02/28 14:10:28 takayama Exp $
*
* このクラスでは以下の BNF で表される構文解析を実装している
* expr -> stag [expr | immediate]* etag
@@ -77,10 +77,10 @@ final class OM2OXM implements Runnable{
String ret = "";
switch(cmo.getDISCRIMINATOR()){
- case CMO.CMO_NULL:
+ case CMO.NULL:
return "0";
- case CMO.CMO_INT32:
+ case CMO.INT32:
return ""+ ((CMO_INT32)cmo).intValue() +"";
// case CMO.CMO_DATUM:
@@ -142,7 +142,7 @@ final class OM2OXM implements Runnable{
ret += "";
return ret;
- //case CMO.CMO_POLYNOMIAL_IN_ONE_VARIABLE:
+ //case CMO.POLYNOMIAL_IN_ONE_VARIABLE:
case CMO.CMO_BIGFLOAT:
ret += "";
@@ -373,7 +373,7 @@ final class OM2OXM implements Runnable{
&& leaves[1] instanceof CMO_ZZ){
ret = new CMO_QQ((CMO_ZZ)leaves[0],(CMO_ZZ)leaves[1]);
}else{
- ret = new CMO_TREE(name,"Basic",new CMO_LIST(leaves));
+ ret = new CMO_TREE(name,"basic",new CMO_LIST(leaves));
}
}