Bugzilla – Attachment 871602 Details for
Bug 1218451
bison: clarify parameter declaration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
proposed patch
0001-doc-Clarify-function-argument-declarations.patch (text/plain), 927 bytes, created by
Michal Suchanek
on 2023-12-29 12:53:09 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Michal Suchanek
Created:
2023-12-29 12:53:09 UTC
Size:
927 bytes
patch
obsolete
>From ca39a2cb0ab4cfabcbcceee7f169c2546895d2d0 Mon Sep 17 00:00:00 2001 >From: Michal Suchanek <msuchanek@suse.de> >Date: Fri, 29 Dec 2023 13:50:32 +0100 >Subject: [PATCH] doc: Clarify function argument declarations. > >Signed-off-by: Michal Suchanek <msuchanek@suse.de> >--- > doc/bison.texi | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/doc/bison.texi b/doc/bison.texi >index 5ffe21d0..fd80e399 100644 >--- a/doc/bison.texi >+++ b/doc/bison.texi >@@ -7402,6 +7402,10 @@ functions or prototypes. The last identifier in > @var{argument-declaration} must be the argument name. > @end deffn > >+Note: The argument declataions between bracers have to specify one argument at at time. >+If more than one argument is needed use separate bracers for each argument. >+Otherwise bison will not determine the number of arguments correctly and may generate broken code. >+ > Here's an example. Write this in the parser: > > @example >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1218451
: 871602