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

compiler: rework flags & support win path spaces + more

This commit is contained in:
joe-conigliaro
2019-09-06 22:12:04 +10:00
committed by Alexander Medvednikov
parent e8068b5e1d
commit 8ac0a2b2dd
7 changed files with 201 additions and 185 deletions

View File

@ -17,7 +17,7 @@ mut:
modules []string // List of all modules registered by the application
imports []string // List of all imports
file_imports []FileImportTable // List of imports for file
flags []string // ['-framework Cocoa', '-lglfw3']
cflags []CFlag // ['-framework Cocoa', '-lglfw3']
fn_cnt int //atomic
obfuscate bool
}
@ -78,8 +78,6 @@ mut:
scope_level int
}
struct Type {
mut:
mod string
@ -106,7 +104,6 @@ struct TypeNode {
typ Type
}
// For debugging types
fn (t Type) str() string {
mut s := 'type "$t.name" {'