Annotation of parser3/tests/results/auto.p, revision 1.13
1.2 misha 1: @conf[filespec]
2: $CHARSETS[
3: $.windows-1251[../etc/parser3.charsets/windows-1251.cfg]
4: ]
5:
1.13 ! moko 6: $SQL[
! 7: $.drivers[^table::create{protocol driver client
! 8: sqlite ../etc/libparser3sqlite.so libsqlite3.so
! 9: }]
! 10: ]
1.3 misha 11: $CLASS_PATH[^table::create{path
12: /
13: /tests
14: }]
15:
1.7 moko 16: $NO_PROTOTYPE[
1.8 moko 17: $.[336.html][yes]
18: $.[225.html][yes]
19: $.[051.html][yes]
1.7 moko 20: ]
21:
22: ^if(def $NO_PROTOTYPE.[$env:PATH_TRANSLATED]){
23: $OBJECT-PROTOTYPE(false)
24: }
1.2 misha 25:
1.8 moko 26: ^if($env:PATH_TRANSLATED eq '357.html'){
1.9 moko 27: $LIMITS[
28: $.max_loop(50)
29: $.max_recoursion(50)
30: ]
1.8 moko 31: }
32: ^if($env:PATH_TRANSLATED eq '358.html'){
1.9 moko 33: $LIMITS[
34: $.max_loop(0)
35: $.max_recoursion(0)
36: ]
1.8 moko 37: }
1.10 moko 38: ^if($env:PATH_TRANSLATED eq '380.html'){
39: $LIMITS[
40: $.max_file_size(10000)
41: ]
42: }
1.8 moko 43:
1.5 misha 44:
1.1 paf 45: @auto[]
1.4 misha 46:
47:
1.6 misha 48: @try-catch[jCode]
49: ^try{$jCode}{
50: $exception.handled(true)
51: Type: $exception.type,
52: Source: $exception.source,
53: Comment: $exception.comment
54: }
55:
56:
1.5 misha 57: @1251[]
58: ^from-1251[]
59: ^to-1251[]
60:
61:
62: @from-1251[]
1.4 misha 63: $request:charset[windows-1251]
1.5 misha 64:
65:
66: @to-1251[]
1.4 misha 67: $response:charset[windows-1251]
1.5 misha 68:
69:
70: # backward
71: @windows-1251[]
72: ^1251[]
1.11 moko 73:
1.12 moko 74: @os[win;unix][name]
75: $name[^env:OS.left(7)]
76: $result[^if(^name.lower[] eq 'windows'){$win}{$unix}]
E-mail: