update documentation to reflect VLA changes
This commit is contained in:
parent
1b8c094f39
commit
1b0f42f8ad
1 changed files with 3 additions and 3 deletions
|
@ -947,7 +947,7 @@ longs.
|
||||||
|
|
||||||
Arrays are considered as pointers @code{VT_PTR} with the flag
|
Arrays are considered as pointers @code{VT_PTR} with the flag
|
||||||
@code{VT_ARRAY} set. Variable length arrays are considered as special
|
@code{VT_ARRAY} set. Variable length arrays are considered as special
|
||||||
arrays and therefore also have flag @code{VT_VLA} set.
|
arrays and have flag @code{VT_VLA} set instead of @code{VT_ARRAY}.
|
||||||
|
|
||||||
The @code{VT_BITFIELD} flag can be set for chars, shorts, ints and long
|
The @code{VT_BITFIELD} flag can be set for chars, shorts, ints and long
|
||||||
longs. If it is set, then the bitfield position is stored from bits
|
longs. If it is set, then the bitfield position is stored from bits
|
||||||
|
@ -980,8 +980,8 @@ it). @code{Sym.t} gives the type of the symbol. @code{Sym.r} is usually
|
||||||
the register in which the corresponding variable is stored. @code{Sym.c} is
|
the register in which the corresponding variable is stored. @code{Sym.c} is
|
||||||
usually a constant associated to the symbol like its address for normal
|
usually a constant associated to the symbol like its address for normal
|
||||||
symbols, and the number of entries for symbols representing arrays.
|
symbols, and the number of entries for symbols representing arrays.
|
||||||
Variable length arrays use @code{Sym.r} instead, which is a pointer to
|
Variable length array types use @code{Sym.c} as a location on the stack
|
||||||
a @code{SValue} holding its runtime size.
|
which holds the runtime sizeof for the type.
|
||||||
|
|
||||||
Four main symbol stacks are defined:
|
Four main symbol stacks are defined:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue