aboutsummaryrefslogtreecommitdiff
path: root/src/runMain/kotlin/Testing.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/runMain/kotlin/Testing.kt')
-rw-r--r--src/runMain/kotlin/Testing.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runMain/kotlin/Testing.kt b/src/runMain/kotlin/Testing.kt
index 5ee9560..a8aa288 100644
--- a/src/runMain/kotlin/Testing.kt
+++ b/src/runMain/kotlin/Testing.kt
@@ -1,7 +1,7 @@
class Testing {
init {
- val source = Loader("/home/melvin/coding/run/example.run").load()
- val tokens = Lexical().analyze(source)
- Syntax().check(tokens)
+ val source = Loader("/home/melvin/coding/runc/example.run").preprocess()
+ val statements = Lexical().analyze(source)
+ Syntax().check(statements)
}
} \ No newline at end of file