Re: Remove unnecessary commas for goto labels - Mailing list pgsql-hackers

From Japin Li
Subject Re: Remove unnecessary commas for goto labels
Date
Msg-id MEYP282MB1669E2642A86348A1019426DB6209@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Remove unnecessary commas for goto labels  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-hackers
On Mon, 10 Oct 2022 at 16:18, John Naylor <john.naylor@enterprisedb.com> wrote:
> Interestingly, I did find that in C, some statement is needed after a
> label, even an empty one, otherwise it won't compile.

Yeah, this is required by ISO C [1].

> That's not the case here, though, so pushed.

Thank you!


[1] https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#Labels

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Remove unnecessary commas for goto labels
Next
From: Peter Eisentraut
Date:
Subject: clean up pid_t printing and get rid of pgpid_t