Annotation of parser3/tests/456.html, revision 1.1

1.1     ! moko        1: # Recursion in finally must terminate instead of repeatedly resetting the counter (feature #1298)
        !             2: @main[]
        !             3: $report[$.caught(0) $.finally(0) $.outer_catch(false) $.outer_finally(false) $.after(false)]
        !             4: ^try{^recurse[]}{
        !             5:  $report.outer_catch(true)
        !             6:  $exception.handled(true)
        !             7: }{
        !             8:  $report.outer_finally(true)
        !             9: }
        !            10: $report.after(true)
        !            11: ^json:string[$report; $.indent(true)]
        !            12: 
        !            13: @recurse[]
        !            14: ^try{^recurse[]}{
        !            15:  $report.caught($report.caught+1)
        !            16:  $report.first_error[$exception.comment]
        !            17:  ^throw[;before fix: this resets recursion limit for finally code]
        !            18: }{
        !            19:  $report.finally($report.finally+1)
        !            20:  ^recurse[]
        !            21: }
        !            22: 
        !            23: @check_free_stack[n]
        !            24: ^if($n>0){^check_free_stack($n-1)}{$report.check_free_stack(true)}
        !            25: 
        !            26: @unhandled_exception[exception;stack]
        !            27: $exception.handled(true)
        !            28: $report.error[$exception.comment]
        !            29: ^check_free_stack[50]
        !            30: ^json:string[$report; $.indent(true)]

E-mail: