Re: Bison bootstrap

Valentin Tolmer <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <CADxt4KZtFBLxyx89f01+Ui+HAxGqeVA70dvPMLSH13C0hbFw3g@mail.gmail.com>
Sorry for the trouble, installing build-essential fixed it for me.

On Thu, Feb 28, 2019 at 2:24 PM Valentin Tolmer <[email protected]>
wrote:

> Hello!
>
> I'm trying to bootstrap bison to start hacking on it. I just did it
> successfully on a computer, but on another one, it's not working.
>
> I have a bison version 3.0.4 installed, and after cloning, running
> bootstrap, configure and make, it fails to generate the src/scan-code.c
> file.
>
> When I run
> $ bison -y ../src/scan-code.l -o src/scan-code.c
>
> it fails because it doesn't recognize %option:
>
> ../src/scan-code.l:20.1-7: error: invalid directive: ‘%option’
>  %option debug nodefault noinput nounput noyywrap never-interactive
>
> Any idea why that happens? Is it because my bison is too old? In which case, where can I download a (pre-compiled) newer one, for linux (a debian-like)?
>
>
> Thanks,
>
>
> --
> Valentin Tolmer
>


-- 
Valentin Tolmer
_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.