--- parser3/tests/results/auto.p 2024/10/02 23:04:36 1.22 +++ parser3/tests/results/auto.p 2026/01/08 21:24:29 1.26 @@ -51,6 +51,14 @@ html text/html $CLASS-GETTER-PROTECTED(false) } +^if($env:PATH_TRANSLATED eq '449.html'){ + $LIMITS[ + $.max_array_size(1000) + ] +} + +^os[;]{ ^curl:options[ $.library[libcurl.4.dylib] ] } + @auto[] @@ -63,6 +71,15 @@ html text/html } +@try-catch-filtered[jCode;limit] +^try{$jCode}{ + $exception.handled(true) + Exception type: $exception.type, + Source: $exception.source^if(def $limit){, + Comment: ^exception.comment.left($limit)} +} + + @try-catch-comment[jCode] ^try{$jCode}{ $exception.handled(true) @@ -87,6 +104,6 @@ $response:charset[windows-1251] @windows-1251[] ^1251[] -@os[win;unix][name] +@os[win;unix;mac][name] $name[^env:OS.left(7)] -$result[^if(^name.lower[] eq 'windows'){$win}{$unix}] +$result[^if(^name.lower[] eq 'windows'){$win}{^if(^env:HOME.left(6) eq '/Users' && def $mac){$mac;$unix}}]