diff options
author | Eduardo Julian | 2022-07-02 16:32:00 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-07-02 16:32:00 -0400 |
commit | 7e4c9ba2e02f06fa621ffe24bc0ca046536429ef (patch) | |
tree | 9e4a4e228d136870f9b706cc804315db6b08d17c /stdlib/source/format | |
parent | b96beb587c11fcfbce86ce2d62351600cf6cad1b (diff) |
Moved "lux/macro" to "lux/meta/macro".
Diffstat (limited to 'stdlib/source/format')
-rw-r--r-- | stdlib/source/format/lux/data/binary.lux | 7 | ||||
-rw-r--r-- | stdlib/source/format/lux/data/text.lux | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/stdlib/source/format/lux/data/binary.lux b/stdlib/source/format/lux/data/binary.lux index 8d31c23cc..761176a3a 100644 --- a/stdlib/source/format/lux/data/binary.lux +++ b/stdlib/source/format/lux/data/binary.lux @@ -22,13 +22,14 @@ ["[0]" set (.only Set)] [array [\\unsafe (.only)]]]] - [macro - ["^" pattern]] [math [number ["n" nat] ["[0]" i64] - ["[0]" frac]]]]] + ["[0]" frac]]] + [meta + [macro + ["^" pattern]]]]] ["[0]" \\unsafe (.only Binary)] ["</>" \\parser (.only Offset Size Parser)]) diff --git a/stdlib/source/format/lux/data/text.lux b/stdlib/source/format/lux/data/text.lux index 531bd282b..2cbf6d99c 100644 --- a/stdlib/source/format/lux/data/text.lux +++ b/stdlib/source/format/lux/data/text.lux @@ -29,15 +29,15 @@ ["[0]" rev] ["[0]" frac] ["[0]" ratio]]] - [macro - [syntax (.only syntax)] - ["[0]" template]] [meta ["[0]" location] ["[0]" symbol] ["[0]" type] ["[0]" code (.only) - ["<[1]>" \\parser (.only Parser)]]]]]) + ["<[1]>" \\parser (.only Parser)]] + [macro + [syntax (.only syntax)] + ["[0]" template]]]]]) (.type .public (Format a) (-> a Text)) |