/* $NetBSD: lsym_newline.c,v 1.4 2022/04/24 10:36:37 rillig Exp $ */ /* * Tests for the token lsym_newline, which represents a forced line break in * the source code. * * A newline ends an end-of-line comment that has been started with '//'. * * When a line ends with a backslash immediately followed by '\n', these two * characters are merged and continue the logical line (C11 5.1.1.2p1i2). * * In other contexts, a newline is an ordinary space character from a * compiler's point of view. Indent preserves most line breaks though. * * See also: * lsym_form_feed.c */ //indent input int var= 1 +2 +3 +4; //indent end //indent run int var = 1 + 2 + 3 + 4; //indent end