groff
[Top][All Lists]
Advanced

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

Re: [Groff] problem with preconv and sample_docs.mom


From: Ralph Corderoy
Subject: Re: [Groff] problem with preconv and sample_docs.mom
Date: Sun, 05 Nov 2017 16:13:22 +0000

Hi Branden,

> >    if (len == 0)
> >        goto end;
>
> We're kind of giving a hostage to fortune here, aren't we?
> https://en.wikipedia.org/wiki/Unreachable_code#goto_fail_bug

The whole code base skips braces so is goto worth special casing?  It's
just as likely to be removed in some future edit because it doesn't
match house style.  :-)  Besides, things like gcc's
-Wmisleading-indentation will complain if another indented statement is
added.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

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