/examples/annotations.winxed
http://github.com/NotFound/winxed · Unknown · 23 lines · 21 code · 2 blank · 0 comment · 0 complexity · 02882385124110f12c7ace2a6b13bae9 MD5 · raw file
- function aux()
- {
- var interp=getinterp();
- var cont;
- int i= 0;
- for (cont= interp['continuation']; cont; cont= cont.continuation()) {
- say(cont);
- var ann= interp['annotations', ++i];
- string file= ann['file'];
- int line= ann['line'];
- say("\t", file, ': ', line);
- }
- }
- function test()
- {
- aux();
- }
- function main()
- {
- test();
- }