Created
May 2, 2013 22:08
-
-
Save jbclements/5505846 to your computer and use it in GitHub Desktop.
ANTLR parses this incredibly slowly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use a::b::c; | |
pub fn mk_pass(name: ~str, op: @fn(&str) -> ~str) -> Pass { | |
let op = Cell(op); | |
Pass { | |
name: copy name, | |
f: |srv: astsrv::Srv, doc: doc::Doc| -> doc::Doc { | |
run(srv, doc, op.take()) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment