(p)
module : MODULE ID "(" opt_parameter_list ")" statement
module : MODULE ID "(" opt_parameter_list ")" statement
module : MODULE ID ( opt_parameter_list ) statement
def p_module(p):
    '''module : MODULE ID "(" opt_parameter_list ")" statement
       '''
    params = None
    if p[4] != ")":
        params = p[4]

    p[0] = ScadModule(p[2], params)
def p_module ( p ) : params = None if p [ 4 ] != ")" : params = p [ 4 ] p [ 0 ] = ScadModule ( p [ 2 ] , params )