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