1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: use cur_mode ast.Module instead of a string

This commit is contained in:
Alexander Medvednikov
2020-12-08 19:52:29 +01:00
parent 2bc1076921
commit 1abb40dc46
2 changed files with 4 additions and 6 deletions

View File

@ -77,7 +77,6 @@ pub fn (mut f File) write_string(s string) ?int {
return written
}
// write_to implements the RandomWriter interface
pub fn (mut f File) write_to(pos int, buf []byte) ?int {
C.fseek(f.cfile, pos, C.SEEK_SET)