lsym_period.c revision 1.1
11.1Srillig/* $NetBSD: lsym_period.c,v 1.1 2021/11/18 21:19:19 rillig Exp $ */
21.1Srillig/* $FreeBSD$ */
31.1Srillig
41.1Srillig/*
51.1Srillig * Tests for the token lsym_period, which represents '.' in these contexts:
61.1Srillig *
71.1Srillig * In an initializer, '.' starts a named designator (since C99).
81.1Srillig *
91.1Srillig * In an expression, 'sou.member' accesses the member 'member' in the struct
101.1Srillig * or union 'sou'.
111.1Srillig *
121.1Srillig * In a function prototype declaration, the sequence '.' '.' '.' marks the
131.1Srillig * start of a variable number of arguments.
141.1Srillig *
151.1Srillig * See also:
161.1Srillig *	lsym_word.c		for '.' inside numeric constants
171.1Srillig */
181.1Srillig
191.1Srillig#indent input
201.1Srillig// TODO: add input
211.1Srillig#indent end
221.1Srillig
231.1Srillig#indent run-equals-input
24