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