Home | History | Annotate | Line # | Download | only in indent
psym_if_expr_stmt_else.c revision 1.1
      1 /* $NetBSD: psym_if_expr_stmt_else.c,v 1.1 2021/11/18 21:19:19 rillig Exp $ */
      2 /* $FreeBSD$ */
      3 
      4 /*
      5  * Tests for the parser symbol psym_if_expr_stmt_else, which represents the
      6  * parser state after reading the keyword 'if', the controlling expression,
      7  * the statement of the 'then' branch and the keyword 'else'.  If the next
      8  * token is an 'if', the formatting depends on the option '-ei' or '-nei'.  In
      9  * all other situations, the next statement will finish the 'if' statement.
     10  */
     11 
     12 #indent input
     13 // TODO: add input
     14 #indent end
     15 
     16 #indent run-equals-input
     17