commit | 0882b9ce6c85594d4b514521605674fa60657921 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Feb 27 13:07:15 2017 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Feb 27 13:07:15 2017 -0800 |
tree | 854d7ecc60922ab7f9f7afd4cd6fed9ead41e37e | |
parent | 01bb61555b2951daaeb2d268af8d5dd14ea440ba [diff] |
Fix the basic separated_list invocation
diff --git a/synom/src/helper.rs b/synom/src/helper.rs index bcddd2e..59e46ee 100644 --- a/synom/src/helper.rs +++ b/synom/src/helper.rs
@@ -326,7 +326,7 @@ #[macro_export] macro_rules! separated_list { // Try to use this branch if possible - makes a difference in compile time. - ($i:expr, punct!($sep:expr), $f:expr) => { + ($i:expr, punct!($sep:expr), $f:ident) => { $crate::helper::separated_list($i, $sep, $f, false) };