浏览代码

add dummy FileInput.eof so sys tests compile

Simon Krajewski 11 年之前
父节点
当前提交
b3673db9b1
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      std/python/_std/sys/io/FileInput.hx

+ 3 - 1
std/python/_std/sys/io/FileInput.hx

@@ -9,6 +9,8 @@ class FileInput extends NativeInput {
 		super(stream);
 	}
 
-
+	public function eof() {
+		return false; // TODO
+	}
 
 }