Annotation of parser3/tests/275.html, revision 1.2

1.1       moko        1: @main[]
                      2: 
                      3: ^math:convert[F0000000](16;2)
                      4: ^math:convert[-F0000000](16;2)
                      5: 
                      6: ^try_catch{
1.2     ! moko        7:        $d(^math:convert[100000000](16;2))
1.1       moko        8: }
                      9: 
1.2     ! moko       10: $d(2)
        !            11: 
        !            12: ^try_catch{
        !            13:        ^d.div(0)
        !            14: }
        !            15: ^try_catch{
        !            16:        ^d.mod(0)
        !            17: }
        !            18: 
        !            19: $s[2]
        !            20: $i(^s.int[])
        !            21: 
        !            22: ^try_catch{
        !            23:        ^i.div(0)
        !            24: }
        !            25: ^try_catch{
        !            26:        ^i.mod(0)
        !            27: }
        !            28: 
        !            29: $s[0x100000000]
        !            30: $s as int: ^try_catch{
        !            31:        ^s.int[]
        !            32: }
        !            33: 
        !            34: $s as double: ^try_catch{
        !            35:        ^s.double[]
        !            36: }
        !            37: 
        !            38: 
        !            39: $s[0x7FFFFFFF]
        !            40: $s as int: ^s.int[]
        !            41: 
        !            42: $s[-0x80000000]
        !            43: $s as int: ^s.int[]
        !            44: 
        !            45: $s[0x80000000]
        !            46: 
        !            47: $s as double: ^s.double[]
        !            48: as int: ^try_catch{
        !            49:        ^s.int[]
        !            50: }
        !            51: 
        !            52: 
1.1       moko       53: @try_catch[code]
                     54: ^try{
                     55:        $code
                     56: }{
                     57:        $exception.handled(true)
1.2     ! moko       58:        $result[Exception: $exception.source - $exception.comment]
1.1       moko       59: }

E-mail: