mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
module cache fixes; do not allow function names starting with _
This commit is contained in:
parent
0796e1dd69
commit
2411b8d1e7
18 changed files with 95 additions and 42 deletions
|
@ -224,7 +224,7 @@ fn (s mut Scanner) get_scanner_pos_of_token(t &Token) ScannerPos {
|
|||
// of the token. Continue scanning for some more lines of context too.
|
||||
s.goto_scanner_position(ScannerPos{})
|
||||
s.file_lines = []string
|
||||
|
||||
|
||||
mut prevlinepos := 0
|
||||
// NB: TCC BUG workaround: removing the `mut ate:=0 ate++` line
|
||||
// below causes a bug in v, when v is compiled with tcc, and v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue