git: 75ff759a3b18 - main - devel/cdecl: update to 12.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Aug 2022 15:25:05 UTC
The branch main has been updated by ler:
URL: https://cgit.FreeBSD.org/ports/commit/?id=75ff759a3b189c6ae84690dc788c10d312b535b2
commit 75ff759a3b189c6ae84690dc788c10d312b535b2
Author: Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2022-08-06 15:23:27 +0000
Commit: Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2022-08-06 15:24:58 +0000
devel/cdecl: update to 12.0
ChangeLog:
Added suggestions
Added suggestions to error messages in certain cases when a keyword is
expected, for example:
cdecl> declare x as type poiner to int
^
19: syntax error: "poiner": "as" expected; did
you mean "pointer"?
Better executable name checking
Previously, if cdecl was invoked as cast,
declare, or explain, or with a name that
isn't a command (through renaming or a hard
or a symbolic link) without command-line
arguments, it behaved as if it were invoked
as cdecl without error. This has been
fixed.
C23
The placeholder name of C2X has been
changed to C23.
Color and TERM
The TERM environment variable is no longer
considered when determining whether color
should be used in output. Now, all that
matters is whether the output stream is
connected to a TTY.
exit auto-completion
The exit command is no longer
auto-completable enabling explain to be
auto-completed after typing only ex rather
than exp as before.
help options types
Help for types was added to options help.
explicit help
The missing explicit was added to the help.
explicit-escu for enum
The explicit-ecsu option for enums is
fixed.
include
Added a new include command to include
cdecl commands from files either from a
configuration file or the cdecl command
line.
_Noreturn deprecated
_Noreturn is now deprecated in C2X.
Printing of types
Now printing types in error messages as
they were originally defined
(pseudo-English vs. gibberish) in more
cases.
Additional sanitizers
The configure options of --enable-msan and
--enable-ubsan have been added to enable
clang's Memory Sanitizer and Undefined
Behavior Sanitizer, respectively. The
previous --enable-address-sanitizer has
been renamed to --enable-asan.
show autocompletion
The show command now uses command-specific
autocompletion.
Overloading co_await operator
Overloading the co_await operator is now
supported.
Predefined types
Fixed spelling of bad_typeid; added
source_location, type_index, and type_info.
Types as objects, English edition
Previously declared types in pseudo-Engilsh
are now checked to ensure they're not being
used as objects:
cdecl> struct S
cdecl> declare S as int //
error (now)
---
devel/cdecl/Makefile | 2 +-
devel/cdecl/distinfo | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile
index 985d97fdb427..5be8968795f3 100644
--- a/devel/cdecl/Makefile
+++ b/devel/cdecl/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cdecl
-PORTVERSION= 11.15
+PORTVERSION= 12.0
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= devel
diff --git a/devel/cdecl/distinfo b/devel/cdecl/distinfo
index ae2409629686..73ff8b98a12f 100644
--- a/devel/cdecl/distinfo
+++ b/devel/cdecl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652578999
-SHA256 (paul-j-lucas-cdecl-cdecl-11.15_GH0.tar.gz) = 17c3b4c44359aa4ff96c28eda493490f5a6fe6fbee5f1137bf77094123c864ce
-SIZE (paul-j-lucas-cdecl-cdecl-11.15_GH0.tar.gz) = 779251
+TIMESTAMP = 1659799337
+SHA256 (paul-j-lucas-cdecl-cdecl-12.0_GH0.tar.gz) = 662dd33f44cf539d5ecc84c65aac5c6f46dddb87f11974f8aa976dc2d4bccaff
+SIZE (paul-j-lucas-cdecl-cdecl-12.0_GH0.tar.gz) = 801249