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.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runMain/kotlin/Testing.kt b/src/runMain/kotlin/Testing.kt
index a8aa288..434fe08 100644
--- a/src/runMain/kotlin/Testing.kt
+++ b/src/runMain/kotlin/Testing.kt
@@ -1,7 +1,8 @@
class Testing {
init {
- val source = Loader("/home/melvin/coding/runc/example.run").preprocess()
+ val source = Loader("/home/melvin/coding/run/example.run").preprocess()
val statements = Lexical().analyze(source)
Syntax().check(statements)
+ Semantic().check(statements)
}
} \ No newline at end of file