From c0b4acddf86a9dd0a7d8d8f8cc096cfec771bca7 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 29 Nov 2011 20:35:05 -0500 Subject: [PATCH] Add note about old-style function declarations to the manual. --- doc/man/libcdecl.3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/man/libcdecl.3 b/doc/man/libcdecl.3 index 8bcc394..a4dc5f4 100644 --- a/doc/man/libcdecl.3 +++ b/doc/man/libcdecl.3 @@ -257,6 +257,13 @@ each function parameter has exactly one full declarator (abstract or otherwise). If .Va variadic is true, then the function is variadic. +.Pp +Note that old-style function declarations with non-empty identifier lists are +not directly represented here: this is because they are syntactically identical +to a prototype where every parameter is a typedef name. Since +.Nm +isn't a C compiler, there is no way for the parser to tell these two kinds of +declarations apart. .Sh ERROR HANDLING Some functions in .Nm -- 2.43.0