bridgepoint/oal.py
def p_statement_list_2(self, p):
        '''statement_list : statement SEMICOLON'''
        p[0] = StatementListNode()
        if p[1] is not None:
            p[0].children.insert(0, p[1])
def p_statement_list_2(self, p):
        '''statement_list : statement SEMICOLON'''
        p[0] = StatementListNode()
        if p[1] is not None:
            p[0].children.insert(0, p[1])
def p_statement_list_2 ( self , p ) : p [ 0 ] = StatementListNode ( ) if p [ 1 ] is not None : p [ 0 ] . children . insert ( 0 , p [ 1 ] )
statement_list : statement SEMICOLON
statement_list : statement SEMICOLON