bridgepoint/oal.py
def p_if_statement(self, p):
        '''statement : IF expression block elif_list else_clause END_IF'''
        p[0] = IfNode(expression=p[2],
                      block=p[3],
                      elif_list=p[4],
                      else_clause=p[5])
def p_if_statement(self, p):
        '''statement : IF expression block elif_list else_clause END_IF'''
        p[0] = IfNode(expression=p[2],
                      block=p[3],
                      elif_list=p[4],
                      else_clause=p[5])
def p_if_statement ( self , p ) : p [ 0 ] = IfNode ( expression = p [ 2 ] , block = p [ 3 ] , elif_list = p [ 4 ] , else_clause = p [ 5 ] )
statement : IF expression block elif_list else_clause END_IF
statement : IF expression block elif_list else_clause END_IF