summaryrefslogtreecommitdiff
path: root/test/files/run/lisp.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-10-08 09:07:41 +0000
committermihaylov <mihaylov@epfl.ch>2006-10-08 09:07:41 +0000
commit6a20eed594c346790b6da5da4be243dd581927d3 (patch)
treef6656dd3bdf452428b44b2b5f663b51d23fb3b93 /test/files/run/lisp.scala
parent42dc44dd5235cbe30bc52dcaa360bdccb50b87cd (diff)
downloadscala-6a20eed594c346790b6da5da4be243dd581927d3.tar.gz
scala-6a20eed594c346790b6da5da4be243dd581927d3.tar.bz2
scala-6a20eed594c346790b6da5da4be243dd581927d3.zip
Moved scala.runtime.compat to scala.compat
Diffstat (limited to 'test/files/run/lisp.scala')
-rw-r--r--test/files/run/lisp.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/lisp.scala b/test/files/run/lisp.scala
index cb26972e2d..f12196ca50 100644
--- a/test/files/run/lisp.scala
+++ b/test/files/run/lisp.scala
@@ -240,7 +240,7 @@ object LispCaseClasses extends Lisp {
if (token == "(") parseList
else if (token == ")") error("unbalanced parentheses")
else if ('0' <= token.charAt(0) && token.charAt(0) <= '9')
- NUM(scala.runtime.compat.Platform.parseInt(token))
+ NUM(compat.Platform.parseInt(token))
else if (token.charAt(0) == '\"' && token.charAt(token.length()-1)=='\"')
STR(token.substring(1,token.length() - 1))
else SYM(token)
@@ -432,8 +432,8 @@ object LispAny extends Lisp {
if (token == "(") parseList
else if (token == ")") error("unbalanced parentheses")
//else if (Character.isDigit(token.charAt(0)))
- else if (scala.runtime.compat.Platform.isDigit(token.charAt(0)))
- scala.runtime.compat.Platform.parseInt(token)
+ else if (compat.Platform.isDigit(token.charAt(0)))
+ compat.Platform.parseInt(token)
else if (token.charAt(0) == '\"' && token.charAt(token.length()-1)=='\"')
token.substring(1,token.length() - 1)
else Symbol(token)