lsym_period.c revision 1.2
1/* $NetBSD: lsym_period.c,v 1.2 2022/04/22 21:21:20 rillig Exp $ */
2
3/*
4 * Tests for the token lsym_period, which represents '.' in these contexts:
5 *
6 * In an initializer, '.' starts a named designator (since C99).
7 *
8 * In an expression, 'sou.member' accesses the member 'member' in the struct
9 * or union 'sou'.
10 *
11 * In a function prototype declaration, the sequence '.' '.' '.' marks the
12 * start of a variable number of arguments.
13 *
14 * See also:
15 *	lsym_word.c		for '.' inside numeric constants
16 */
17
18#indent input
19// TODO: add input
20#indent end
21
22#indent run-equals-input
23