aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/compiler/phase/directive.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-09-07 20:02:14 -0400
committerEduardo Julian2019-09-07 20:02:14 -0400
commit5f494b497e79bcea1d3c64d663ca5435bbf8ca2d (patch)
tree2a7ac78ae896042039e1311a14948026cbe66585 /stdlib/source/lux/tool/compiler/phase/directive.lux
parent747abe180b2669b6af5779dcf39ab5a8b6ed11ed (diff)
Renamed "Statement" to "Directive".
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/tool/compiler/phase/directive.lux (renamed from stdlib/source/lux/tool/compiler/phase/statement.lux)8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/statement.lux b/stdlib/source/lux/tool/compiler/phase/directive.lux
index 250d14721..f79f2b586 100644
--- a/stdlib/source/lux/tool/compiler/phase/statement.lux
+++ b/stdlib/source/lux/tool/compiler/phase/directive.lux
@@ -18,11 +18,11 @@
["#/" // #_
[reference (#+)]
["#." analysis]
- ["/" statement (#+ Phase)]]])
+ ["/" directive (#+ Phase)]]])
-(exception: #export (not-a-statement {code Code})
+(exception: #export (not-a-directive {code Code})
(exception.report
- ["Statement" (%.code code)]))
+ ["Directive" (%.code code)]))
(exception: #export (invalid-macro-call {code Code})
(exception.report
@@ -76,4 +76,4 @@
(wrap requirements))
_
- (//.throw not-a-statement code))))))
+ (//.throw not-a-directive code))))))