cdecl-13.2
Improved autocompletion
In cases where words in pseudo-Engish can only have a limited set of words that follow in the grammar, only those are now suggested.
Array of array check
Now correctly reporting declarations of arrays of incomplete arrays as an error, e.g.:
cdecl> explain void f(int x[][])
^
23: error: array dimension required
Fixed color prompts
Prompts were always being displayed in color even when --color=never
. Fixed.
Function parameter checks
No longer require certain declarations to be function parameters: const
, volatile
, static
, and variable length arrays; [[carries_dependency]]
. This was changed so you can explain an individual function parameter declaration without having to wrap it inside a function declaration.
Autocompletion word-break characters
The set of word-break characters for autocompletion has been expanded to be (almost) all non-identifier characters.
extern void v
C allows you to declare an object of an incomplete type, so C allows:
extern void v
Now cdecl does also.
More English synonyms
The following English synonyms have been added:
bit-precise integer _BitInt
bit precise integer _BitInt
[[no_unique_address]]
bit fields
Bit-fields having [[no_unique_address]]
are now correctly reported as an error.
User-defined literal parameter lists
Fixed requiring parameter list for user-defined literals in English.