compiler: minor documentation improvement
This commit is contained in:
parent
aab6b31c8b
commit
47653882ef
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ proc genSingleVar(p: BProc, a: PNode) =
|
||||||
not containsHiddenPointer(v.typ):
|
not containsHiddenPointer(v.typ):
|
||||||
# C++ really doesn't like things like 'Foo f; f = x' as that invokes a
|
# C++ really doesn't like things like 'Foo f; f = x' as that invokes a
|
||||||
# parameterless constructor followed by an assignment operator. So we
|
# parameterless constructor followed by an assignment operator. So we
|
||||||
# generate better code here:
|
# generate better code here: 'Foo f = x;'
|
||||||
genLineDir(p, a)
|
genLineDir(p, a)
|
||||||
let decl = localVarDecl(p, vn)
|
let decl = localVarDecl(p, vn)
|
||||||
var tmp: TLoc
|
var tmp: TLoc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue