lsym_semicolon.c revision 1.1
11.1Srillig/* $NetBSD: lsym_semicolon.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_semicolon, which represents ';' in these contexts:
61.1Srillig *
71.1Srillig * In a declaration, ';' finishes the declaration.
81.1Srillig *
91.1Srillig * In a statement, ';' finishes the statement.
101.1Srillig *
111.1Srillig * In a 'for' statement, ';' separates the 3 expressions in the head of the
121.1Srillig * 'for' statement.
131.1Srillig */
141.1Srillig
151.1Srillig#indent input
161.1Srillig// TODO: add input
171.1Srillig#indent end
181.1Srillig
191.1Srillig#indent run-equals-input
20