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