C++ Logo

std-discussion

Advanced search

Re: Optional Semicolons

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Thu, 28 Apr 2022 19:20:53 +0200
On Thu, Apr 28, 2022 at 01:11:36PM -0400, William Linkmeyer via Std-Discussion wrote:
> I’ve been considering writing a paper which allows the programmer to elide semicolons when the statement is otherwise followed by any number of whitespace and a newline.

so something like

  a = b
    + c;

now changes meaning?


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2022-04-28 17:20:57