DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (84bc52da6c3b)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env python

if __name__ == "__main__":
    from tools.wpt import wpt
    from sys import version_info, argv, exit
    args, extra = wpt.parse_args(argv[1:])

    if args.py3 and version_info.major < 3:
        from subprocess import call
        exit(call(['python3', argv[0]] + [args.command] + extra))
    else:
        wpt.main()