PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/annotations.winxed

http://github.com/NotFound/winxed
Unknown | 23 lines | 21 code | 2 blank | 0 comment | 0 complexity | 02882385124110f12c7ace2a6b13bae9 MD5 | raw file
 1function aux()
 2{
 3    var interp=getinterp();
 4    var cont;
 5    int i= 0;
 6    for (cont= interp['continuation']; cont; cont= cont.continuation()) {
 7        say(cont);
 8        var ann= interp['annotations', ++i];
 9        string file= ann['file'];
10        int line= ann['line'];
11        say("\t", file, ': ', line);
12    }
13}
14
15function test()
16{
17    aux();
18}
19
20function main()
21{
22    test();
23}