Home | History | Annotate | Line # | Download | only in indent
lsym_colon.c revision 1.1
      1 /* $NetBSD: lsym_colon.c,v 1.1 2021/11/18 21:19:19 rillig Exp $ */
      2 /* $FreeBSD$ */
      3 
      4 /*
      5  * Tests for the token lsym_colon, which represents a ':' in these contexts:
      6  *
      7  * After a label that is the target of a 'goto' statement.
      8  *
      9  * In a 'switch' statement, after a 'case' label or a 'default' label.
     10  *
     11  * As part of the conditional operator '?:'.
     12  *
     13  * In the declaration of a struct member that is a bit-field.
     14  */
     15 
     16 #indent input
     17 // TODO: add input
     18 #indent end
     19 
     20 #indent run-equals-input
     21