Home | History | Annotate | Line # | Download | only in indent
lsym_lbrace.c revision 1.1
      1 /* $NetBSD: lsym_lbrace.c,v 1.1 2021/11/18 21:19:19 rillig Exp $ */
      2 /* $FreeBSD$ */
      3 
      4 /*
      5  * Tests for the token lsym_lbrace, which represents a '{' in these contexts:
      6  *
      7  * In an initializer, '{' starts an inner group of initializers, usually to
      8  * initialize a nested struct, union or array.
      9  *
     10  * In a function body, '{' starts a block.
     11  *
     12  * In an expression, '(type){' starts a compound expression that is typically
     13  * used in an assignment to a struct or array.
     14  */
     15 
     16 #indent input
     17 // TODO: add input
     18 #indent end
     19 
     20 #indent run-equals-input
     21