]> git.lizzy.rs Git - rust.git/commitdiff
libsyntax: Fix name generation in condition! macro
authorAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 12 Jan 2013 02:32:10 +0000 (21:32 -0500)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 12 Jan 2013 02:32:10 +0000 (21:32 -0500)
src/libsyntax/ext/expand.rs

index e3fb7a289c186684a43d714018ba5d782312b08b..11abec941e8cf622a807610cc9fec2e6e159e945 100644 (file)
@@ -307,7 +307,7 @@ fn key(_x: @::core::condition::Handler<$in,$out>) { }
 
                 pub const cond : ::core::condition::Condition<$in,$out> =
                     ::core::condition::Condition {
-                    name: stringify!(c),
+                    name: stringify!($c),
                     key: key
                 };
             }