diff options
author | Eduardo Julian | 2020-10-14 21:48:00 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-14 21:48:00 -0400 |
commit | 440608bc32916329c9f3c0f2bd9a8d1152ed5da8 (patch) | |
tree | e27ae0f41a437c24275293b151b23e63bf938392 /stdlib/source/test/lux/macro/code.lux | |
parent | 00d5ccbc043960037f644d4ff09b6a46fd0093d0 (diff) |
Gave the Location type its own module.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/macro/code.lux | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/macro/code.lux b/stdlib/source/test/lux/macro/code.lux index eec419644..717d4be94 100644 --- a/stdlib/source/test/lux/macro/code.lux +++ b/stdlib/source/test/lux/macro/code.lux @@ -17,6 +17,8 @@ ["n" nat]] [collection ["." list ("#@." functor)]]] + [meta + ["." location]] [tool [compiler [language @@ -69,7 +71,7 @@ syntax.no-aliases (text.size source-code)) start (: Source - [.dummy-location 0 source-code])] + [location.dummy 0 source-code])] (case (parse start) (#.Left [end error]) (#try.Failure error) @@ -132,7 +134,7 @@ (#try.Failure error) false) (:: /.equivalence = - [.dummy-location (<tag> expected)] + [location.dummy (<tag> expected)] (<coverage> expected)))))] [/.bit random.bit #.Bit] @@ -159,7 +161,7 @@ (#try.Failure error) false) (:: /.equivalence = - [.dummy-location (<tag> ["" expected])] + [location.dummy (<tag> ["" expected])] (<coverage> expected))) ))] |