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

runtime: nr_cpus()

This commit is contained in:
Alexander Medvednikov
2019-10-11 06:36:46 +03:00
parent a280e98d7f
commit 52c2fa44b8
6 changed files with 24 additions and 5 deletions

View File

@ -1686,7 +1686,7 @@ fn (p mut Parser) bterm() string {
// also called on *, &, @, . (enum)
fn (p mut Parser) name_expr() string {
//println('n')
//println('n')
p.has_immutable_field = false
p.is_const_literal = false
ph := p.cgen.add_placeholder()

View File

@ -31,7 +31,6 @@ struct VargAccess {
index int
}
/*
enum NameCategory {
constant
mod
@ -41,8 +40,8 @@ enum NameCategory {
struct Name {
cat NameCategory
idx int // e.g. typ := types[name.idx]
}
*/
struct GenTable {
fn_name string