mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
caching modules: almost there
This commit is contained in:
parent
dbd72ee828
commit
a9a73d9315
15 changed files with 209 additions and 161 deletions
|
@ -254,7 +254,7 @@ fn (s mut Scanner) get_scanner_pos_of_token(t &Token) ScannerPos {
|
|||
sptoken.pos += tcol
|
||||
}
|
||||
s.ignore_line() s.eat_single_newline()
|
||||
sline := s.text.substr( prevlinepos, s.pos ).trim_right('\r\n')
|
||||
sline := s.text.substr( prevlinepos, s.pos )//.trim_right('\r\n')
|
||||
s.file_lines << sline
|
||||
}
|
||||
//////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue