def p_contents(self, p):
n = len(p)<EOL>if n == <NUM_LIT:3>:<EOL><INDENT>p[<NUM_LIT:0>] = p[<NUM_LIT:1>] + [p[<NUM_LIT:2>]]<EOL><DEDENT>else:<EOL><INDENT>p[<NUM_LIT:0>] = ['<STR_LIT>', p[<NUM_LIT:1>]]<EOL><DEDENT>
contents : contents statements
                    | contents comment
                    | contents include
                    | contents includeoptional
                    | contents block
                    | statements
                    | comment
                    | include
                    | includeoptional
                    | block