bug-bison
[Top][All Lists]
Advanced

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

Re: Bison function argument style


From: Hans Aberg
Subject: Re: Bison function argument style
Date: Mon, 18 Nov 2002 11:56:29 +0100

>> I noticed that the Bison sources now almost everywhere writes function
>> arguments like "f (x)" with extra space between the function name and first
>> argument parenthesis, instead what is correct according to traditional
>> typesetting of math "f(x)". Is this a deliberate Bison style and if so,
>> what is the reason for choosing it?
>
>This style is recommended (not required) in the GNU Coding Standards, and is
>used, for example, in GCC and in GDB.

Well, look into typeset math before say 1980 when the electronic
typesetting was not generally available and the stuff was typeset by
professionals, and I think you will find that the latter style (without
extra space) was used pretty much exclusively.

Somehow the extra space style became popular in computers.

  Hans Aberg






reply via email to

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