From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: Jakub Wilk <jwilk@jwilk.net>
Cc: David Sletten <david.paul.sletten@gmail.com>,
linux-man@vger.kernel.org,
Michael Kerrisk <mtk.manpages@gmail.com>
Subject: Re: Error in 'man operator'
Date: Sat, 28 Aug 2021 12:50:34 +0200 [thread overview]
Message-ID: <3fa093d5-ae1d-71f1-2307-b47b4a9207d9@gmail.com> (raw)
In-Reply-To: <20210828054326.nh4tsfce3nvlxirc@jwilk.net>
Hi Jakub,
On 8/28/21 7:43 AM, Jakub Wilk wrote:
> * Alejandro Colomar <alx.manpages@gmail.com>, 2021-08-28, 02:17:
>> Hmm, I just came up with some very stupid piece of code that can show
>> the different precedence between "unary operators" and "cast operators":
>>
>> sizeof(int)x;
>
> Perhaps a more vivid example would be:
>
> sizeof (int) + 1
>
> which is parsed as
> (sizeof (int)) + 1
>
> rather than:
>
> sizeof ((int) +1)
Yes, definitely more convincing!
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
prev parent reply other threads:[~2021-08-28 10:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 18:11 Error in 'man operator' David Sletten
2021-08-27 23:39 ` Alejandro Colomar (man-pages)
2021-08-28 0:01 ` Alejandro Colomar (man-pages)
2021-08-28 0:08 ` David Sletten
2021-08-28 10:56 ` Alejandro Colomar (man-pages)
2021-08-28 0:17 ` Alejandro Colomar (man-pages)
2021-08-28 0:20 ` David Sletten
2021-08-28 5:43 ` Jakub Wilk
2021-08-28 10:50 ` Alejandro Colomar (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3fa093d5-ae1d-71f1-2307-b47b4a9207d9@gmail.com \
--to=alx.manpages@gmail.com \
--cc=david.paul.sletten@gmail.com \
--cc=jwilk@jwilk.net \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox