aboutsummaryrefslogtreecommitdiffstats
path: root/copilot.moon
diff options
context:
space:
mode:
Diffstat (limited to 'copilot.moon')
-rw-r--r--copilot.moon4
1 files changed, 2 insertions, 2 deletions
diff --git a/copilot.moon b/copilot.moon
index 3e07dc7..fb88378 100644
--- a/copilot.moon
+++ b/copilot.moon
@@ -1,5 +1,5 @@
lfs = require 'lfs'
-import program from require 'parsing'
+import parse from require 'core'
slurp = (file) ->
file = io.open file, 'r'
@@ -20,7 +20,7 @@ class Copilot
error "not a file: #{@file}"
patch: =>
- ast = program\match slurp @file
+ ast = parse slurp @file
if not ast
L\error "error parsing"