File:  [parser3project] / parser3 / tests / 182.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Jun 24 12:27:45 2008 UTC (18 years, 2 months ago) by misha
Branches: MAIN
CVS tags: release_3_4_1, release_3_4_0, release_3_3_0, HEAD
- tests for @OPTIONS\nappend

@main[]
$sDir[182_dir]
^use[$sDir/a1.p]
^use[$sDir/a2.p]

^^a:a1[]: ^a:a1[]
^^a:a2[]: ^a:a2[]
^^a:a3[]: ^a:a3[]
^^b:b1[]: ^b:b1[]

<hr />

# override 'a' class and add 'c' class
^use[182_dir/a3.p]

^^a:a1[]: ^a:a1[]
^^a:a2[]: 
^try{
	^a:a2[]
}{
	$exception.handled(1)
	exception: $exception.comment <b>$exception.source</b><br />
}
^^b:b1[]: ^b:b1[]
^^c:c1[]: ^c:c1[]

E-mail: