summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-18 22:20:51 +0200
committerpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-18 22:20:51 +0200
commit8b3aa5ab7b88059641c27f7ff2fcfcc0ec1aa4b2 (patch)
treed62c42eb4ee5e97f98b9ae7684aac952df126272 /src/lib.rs
parentf1da0232d65703f62ea0ab8a2019276f4f7339a7 (diff)
Fixed issue with ptable! macro
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f45ad55..4fd2655 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -221,9 +221,9 @@ macro_rules! table {
/// The syntax is the same that the one for the `table!` macro
#[macro_export]
macro_rules! ptable {
- ([$($value: expr), *]) => (
+ ($([$($value: expr), *]), *) => (
{
- let tab = table!([$($value), *]);
+ let tab = table!($([$($value), *]), *);
tab.printstd();
tab
}