mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cc/cgen: cached modules fixes
This commit is contained in:
@ -47,6 +47,11 @@ pub fn (b mut Builder) go_back(n int) {
|
||||
b.len -= n
|
||||
}
|
||||
|
||||
pub fn (b mut Builder) go_back_to(pos int) {
|
||||
b.buf.trim(pos)
|
||||
b.len = pos
|
||||
}
|
||||
|
||||
pub fn (b mut Builder) writeln(s string) {
|
||||
// for c in s {
|
||||
// b.buf << c
|
||||
|
Reference in New Issue
Block a user