bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: implicit declaration of function 'yylex' is invalid in C99


From: Paul Eggert
Subject: Re: implicit declaration of function 'yylex' is invalid in C99
Date: Sat, 15 Jan 2022 11:25:08 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 1/15/22 08:02, Akim Demaille wrote:
most of the time it suffices to include something like

%code provides {
   int yylex (void);
   void yyerror (const char *);
}

How about if we mention this in the "Calling Conventions" section of the doc? Although the info is present elsewhere, it wasn't in that section which is sort of where I expected it.

I installed the attached to do that; please feel free to revise/improve/etc.

Attachment: 0001-doc-improve-calling-convention-doc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]