File:  [parser3project] / parser3 / tests / results / auto.p
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Sun Oct 9 21:33:04 2016 UTC (9 years, 9 months ago) by moko
Branches: MAIN
CVS tags: HEAD
test updated adter $RECOURSION_LIMIT, $LOOP_LIMIT  -> $LIMITS[ $.max_recoursion, $.max_loop ] (related to feature #42)

@conf[filespec]
$CHARSETS[
	$.windows-1251[../etc/parser3.charsets/windows-1251.cfg]
]

$CLASS_PATH[^table::create{path
/
/tests
}]

$NO_PROTOTYPE[
	$.[336.html][yes]
	$.[225.html][yes]
	$.[051.html][yes]
]

^if(def $NO_PROTOTYPE.[$env:PATH_TRANSLATED]){
	$OBJECT-PROTOTYPE(false)
}

^if($env:PATH_TRANSLATED eq '357.html'){
	$LIMITS[
		$.max_loop(50)
		$.max_recoursion(50)
	]
}
^if($env:PATH_TRANSLATED eq '358.html'){
	$LIMITS[
		$.max_loop(0)
		$.max_recoursion(0)
	]
}


@auto[]


@try-catch[jCode]
^try{$jCode}{
	$exception.handled(true)
	Type: $exception.type,
	Source: $exception.source,
	Comment: $exception.comment
}


@1251[]
^from-1251[]
^to-1251[]


@from-1251[]
$request:charset[windows-1251]


@to-1251[]
$response:charset[windows-1251]


# backward
@windows-1251[]
^1251[]

E-mail: