Skip to content

cdecl-11.7

Compare
Choose a tag to compare
@paul-j-lucas paul-j-lucas released this 11 Dec 00:54
· 4212 commits to master since this release

Cdecl keywords
When an unexpected name token is encountered, if said token is a cdecl keyword, it's now mentioned in the error message:

cdecl> declare ptr as pointer to void
               ^
16: syntax error: "ptr": name expected ("ptr" is a cdecl keyword)

Additionally, cdecl keywords are now also offered in suggestions.

register arrays
register arrays are now correctly allowed.

Zero-sized arrays
Zero-sized arrays are now correctly forbidden.

No files as arguments
Command-line arguments were treated as files if they weren't commands. This dubious use-case was a hold-over from the original cdecl and has been removed. (If you want to read a file use -f.)