Update for latest language changes

This commit is contained in:
Brian Anderson 2012-06-24 14:26:23 -07:00
parent 776be8cf31
commit a6d9b123e4
5 changed files with 4 additions and 5 deletions

@ -1 +1 @@
Subproject commit 530d8661e5282180acd2c3005f4fe7f0c2477f0a
Subproject commit b6276a4cf5a96e2d687eafd626111d51d3ea815b

View file

@ -76,7 +76,7 @@ fn do_draw(sender: chan<AzDrawTargetRef>,
output: chan<[u8]>,
cairo_surf: *cairo_surface_t) {
listen {|data_ch|
listen {|data_ch: chan<[u8]>|
crust fn write_fn(closure: *c_void,
data: *c_uchar,

View file

@ -17,7 +17,7 @@ iface io_service {
fn new_channel(uri: uri) -> channel;
}
class file_channel implements channel {
class file_channel: channel {
let bogus : int;
new() {

View file

@ -230,7 +230,7 @@ fn spawn_css_lexer_task(-filename: ~str) -> port<Token> {
// otherwise just send an eof. This is a hack to allow
// guessing that if foo.html exists, foo.css is the
// corresponding stylesheet.
if file_try.is_success() {
if file_try.is_ok() {
#debug["Lexing css sheet %s", *copy filename];
let file_data = file_try.get();
let reader = io::bytes_reader(file_data);

View file

@ -1,5 +1,4 @@
import comm::*;
import result::extensions;
import gfx::renderer;
import platform::osmain;
import osmain::{OSMain, AddKeyHandler};