def p_main_notext(t):
    """main : main COMMENT
            | main RAW
            | main HEADING
            | main SLIDE
            | main SCISSOR
            | main MACRO
            | main YAML
            | nil"""
    if len(t) > 2:
        t[0] = t[1]
        t[0].append(t[2])
    else:
        t[0] = []
