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:
@ -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()
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user