diff options
author | Eduardo Julian | 2016-12-12 23:07:50 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-12-12 23:07:50 -0400 |
commit | d8b1363f087ae15d2ed63ab1f86a14a83c43f1e3 (patch) | |
tree | c738a17938f3b6eb3a488942cb4ac61f67d558b2 /stdlib/source/lux/data/format/json.lux | |
parent | 02f78b1ff29982bea8c93fe6252593ba3942f38b (diff) |
- No longer using record syntax in certain macros.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/format/json.lux | 4 |
1 files changed, 2 insertions, 2 deletions
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) |