[Top][All Lists]

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

Re: CVS Bison (2002-10-20) creates empty structures and initializers

From: Paul Eggert
Subject: Re: CVS Bison (2002-10-20) creates empty structures and initializers
Date: Wed, 23 Oct 2002 01:28:32 -0700 (PDT)

> From: Akim Demaille <address@hidden>
> Date: 23 Oct 2002 09:14:27 +0200

> | it's easier for non-M4 programmers to follow what's going on.
> But people trying to copy-cat a CPP skeleton for a CPP-less language
> will fail.

That's OK, and indeed expected; people using other programming
languages will expect to have to write skeletons in those languages,
and not in C.

Anyway, I was more worried about Bison users (i.e., ordinary
programmers trying to follow what a parser is doing by reading
skeletons and/or debugging the generated code) than about the
relatively few experts who are writing skeletons.

> | With the C preprocessor, one can decide at C-compile-time (rather than
> | at Bison-compile-time) whether to enable or disable a conditional
> | feature. 
> I fail to see how this can be a real feature.

It's a minor one, I admit.

reply via email to

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