From d8b1363f087ae15d2ed63ab1f86a14a83c43f1e3 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 12 Dec 2016 23:07:50 -0400 Subject: - No longer using record syntax in certain macros. --- stdlib/source/lux/data/format/json.lux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/source/lux/data/format/json.lux') diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux index aa469beb5..280aab24b 100644 --- a/stdlib/source/lux/data/format/json.lux +++ b/stdlib/source/lux/data/format/json.lux @@ -676,7 +676,7 @@ (syntax;alt (syntax;tuple (syntax;some syntax;any)) (syntax;record (syntax;some (syntax;seq syntax;text syntax;any))))) -(syntax: #export (shape^ {shape _shape^}) +(syntax: #export (shape^ [shape _shape^]) (case shape (#ArrayShape parts) (let [array-size (list;size parts) @@ -694,7 +694,7 @@ (wrap (list (` ($_ seq (~@ parsers)))))) )) -(syntax: #export (shape!^ {shape _shape^}) +(syntax: #export (shape!^ [shape _shape^]) (case shape (#ArrayShape parts) (let [array-size (list;size parts) -- cgit v1.2.3