PRINTの構文解析を修正
This commit is contained in:
1 parent
c33df7e4ac
commit
9b36cd2961
2 files changed
+7
-2
No files matched your search
+2
-1
@@ -2,6 +2,7 @@ module otya.smilebasic.vm;
|
||||
import otya.smilebasic.type;
|
||||
import otya.smilebasic.token;
|
||||
import std.uni;
|
||||
import std.utf;
|
||||
import std.conv;
|
||||
import std.stdio;
|
||||
class VM
|
||||
@@ -64,7 +65,7 @@ class PrintCode : Code
|
||||
write(arg.integerValue);
|
||||
break;
|
||||
case ValueType.String:
|
||||
write(cast(string)arg.stringValue);
|
||||
write(arg.stringValue.to!string);
|
||||
break;
|
||||
default:
|
||||
//type missmatch
|
||||
|
||||
Reference in new issue
Block a user