mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
parser: p.mod clean up
This commit is contained in:
parent
ae2af4c36d
commit
efe03a39cc
7 changed files with 70 additions and 70 deletions
|
@ -154,7 +154,7 @@ fn (p mut Parser) print_error_context(){
|
|||
p.cgen.save()
|
||||
// V up hint
|
||||
cur_path := os.getwd()
|
||||
if !p.pref.is_repl && !p.pref.is_test && ( p.file_path.contains('v/compiler') || cur_path.contains('v/compiler') ){
|
||||
if !p.pref.is_repl && !p.pref.is_test && ( p.file_path_id.contains('v/compiler') || cur_path.contains('v/compiler') ){
|
||||
println('\n=========================')
|
||||
println('It looks like you are building V. It is being frequently updated every day.')
|
||||
println('If you didn\'t modify V\'s code, most likely there was a change that ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue