devel/cdecl: update to 11.13

ChangeLog:
Aligned enum, struct, and union in C
Alignment of enum, struct, and union is now correctly forbidden in C.

alignas & _Alignas
These keywords are now additionally allowed instead of aligned [as|to]
in pseudo-English.

Auto-completion of cdecl keywords
Cdecl keywords are now not auto-completable when explaining gibberish.

Auto-completion tweaks
new is now auto-completable; variadic is now autocompletable only in C89
and later. The following are now not autocompletable: co_await,
co_return, co_yield, concept, decltype, and requires.

restrict of typedef
restrict is now correctly allowed on typedefs of pointer:

cdecl> typdef int *pint
cdecl> explain restrict pint p
declare p as restricted pint
return English shorthand
return is now accepted as a shorthand for returning in pseudo-English.

English new-style cast synonyms
The C++ keywords const_cast, dynamic_cast, reinterpret_cast, and
static_cast are now synonyms for their respective two-word counterparts
in pseudo-English.

Fixed core dump for --debug/-d for operator
Fixed a core dump when using the --debug/-d option for an operator.

Fixed function returning function parameter crash
A crash for:

explain void f( int()() )
(which is illegal) has been fixed.
This commit is contained in:
Larry Rosenman 2022-02-27 15:01:42 -06:00
parent 87413da11b
commit 2f70772413
No known key found for this signature in database
GPG Key ID: 697C99B1AB48A77D
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Created by: David O'Brien (obrien@NUXI.com)
PORTNAME= cdecl
PORTVERSION= 11.12
PORTVERSION= 11.13
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= devel

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1644594257
SHA256 (paul-j-lucas-cdecl-cdecl-11.12_GH0.tar.gz) = 97834179df8cb11ed43b204e4b3d07afceea84c7183daa6996d9afe96792a7fe
SIZE (paul-j-lucas-cdecl-cdecl-11.12_GH0.tar.gz) = 766918
TIMESTAMP = 1645989952
SHA256 (paul-j-lucas-cdecl-cdecl-11.13_GH0.tar.gz) = f9329923d7780c9542d442385698fd8d897f5f6aae142acbc222cd8e6717fd2a
SIZE (paul-j-lucas-cdecl-cdecl-11.13_GH0.tar.gz) = 769720